mirror of https://github.com/msgbyte/tailchat
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.
15 lines
360 B
TypeScript
15 lines
360 B
TypeScript
3 years ago
|
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';
|