|
|
@ -2,15 +2,16 @@ import { FC } from 'react'; |
|
|
|
import { Stack, Text } from '@chakra-ui/react'; |
|
|
|
import { Stack, Text } from '@chakra-ui/react'; |
|
|
|
|
|
|
|
|
|
|
|
interface Props { |
|
|
|
interface Props { |
|
|
|
children: string[]; |
|
|
|
children: string; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
export const Note: FC<Props> = ({ children }) => { |
|
|
|
export const Note: FC<Props> = ({ children }) => { |
|
|
|
return ( |
|
|
|
return ( |
|
|
|
<Stack w='100%' bg='button-bg' border='2px' borderColor='primary' p={4}> |
|
|
|
<Stack w='100%' bg='button-bg' border='2px' borderColor='primary' p={4}> |
|
|
|
<Text as='h4' textStyle='header4'> |
|
|
|
<Text as='h4' textStyle='h4' mb={2}> |
|
|
|
Note |
|
|
|
Note |
|
|
|
</Text> |
|
|
|
</Text> |
|
|
|
|
|
|
|
|
|
|
|
<Text textStyle='note-text'>{children}</Text> |
|
|
|
<Text textStyle='note-text'>{children}</Text> |
|
|
|
</Stack> |
|
|
|
</Stack> |
|
|
|
); |
|
|
|
); |
|
|
|