chore: update Note component

This commit is contained in:
Nicolás Quiroz 2023-02-03 16:26:07 -03:00
parent 4cc54d9dae
commit 01cda6c45a
1 changed files with 3 additions and 2 deletions

View File

@ -2,15 +2,16 @@ import { FC } from 'react';
import { Stack, Text } from '@chakra-ui/react';
interface Props {
children: string[];
children: string;
}
export const Note: FC<Props> = ({ children }) => {
return (
<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
</Text>
<Text textStyle='note-text'>{children}</Text>
</Stack>
);