You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailchat/client/packages/design/components/VirtualChatList/index.tsx

15 lines
360 B
TypeScript

import React, { useRef } from 'react';
import { Scroller, ScrollerRef } from './Scroller';
export const VirtualChatList: React.FC = React.memo(() => {
const scrollerRef = useRef<ScrollerRef>(null);
return (
<Scroller ref={scrollerRef}>
{/* TODO */}
<div>Foo</div>
</Scroller>
);
});
VirtualChatList.displayName = 'VirtualChatList';