on df0c310 help sign in
bridge/src/views/Activate/ActivateHeader.tsx
29 lines 620 B history raw
1import { Box, Text } from '@tlon/indigo-react';
2import withFadeable from './withFadeable';
4type ActivateHeaderProps = {
5 content: string | React.ReactNode;
6 fadeTimeout?: number;
7 isInOverride?: boolean;
8};
10const ActivateHeader = ({ content }: ActivateHeaderProps) => {
11 return (
12 <Box>
13 <Text
14 display="block"
15 fontFamily="Inter"
16 fontSize={'16px'}
17 fontWeight={600}
18 mx={3}
19 my={3}
20 textAlign="center">
21 {content}
22 </Text>
23 </Box>
24 );
25};
27export default ActivateHeader;
29export const FadeableActivateHeader = withFadeable(ActivateHeader);