MCPcopy Create free account
hub / github.com/HiveNexus/HiveChat / ScrollToBottomButton

Function ScrollToBottomButton

app/components/ScrollToBottomButton.tsx:11–29  ·  view source on GitHub ↗
({ visible, onClick })

Source from the content-addressed store, hash-verified

9}
10
11const ScrollToBottomButton: React.FC<ScrollToBottomButtonProps> = ({ visible, onClick }) => {
12 if (!visible) return null;
13
14 return (
15 <Button
16 shape="circle"
17 icon={<DownOutlined />}
18 onClick={onClick}
19 style={{
20 position: 'absolute',
21 bottom: '10px',
22 left: '50%',
23 transform: 'translateX(-50%)',
24 zIndex: 100,
25 boxShadow: 'rgb(173 164 164 / 21%) 1px 1px 3px 3px',
26 }}
27 />
28 );
29};
30
31export default ScrollToBottomButton;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected