import { memo, useRef } from '@teact'; import buildClassName from '../../util/buildClassName'; import useFocusMessageListElement from './message/hooks/useFocusMessageListElement'; type OwnProps = { isFocused?: boolean; className?: string; }; const MessageListBottomMarker = ({ isFocused, className }: OwnProps) => { const ref = useRef(); useFocusMessageListElement({ elementRef: ref, isJustAdded: true, isFocused, noFocusHighlight: true, }); return (
); }; export default memo(MessageListBottomMarker);