diff --git a/src/components/atoms/Award/Award.tsx b/src/components/atoms/Award/Award.tsx new file mode 100644 index 0000000..be5a773 --- /dev/null +++ b/src/components/atoms/Award/Award.tsx @@ -0,0 +1,37 @@ +import React from 'react' +import { Box, SxProps, Theme, Typography, TypographyProps } from '@mui/material' + +type AwardEntryProps = { + year: string | number + title: React.ReactNode + titleProps?: TypographyProps + organization: React.ReactNode + location: string + Component?: React.ElementType + sx?: SxProps +} + +const Award = ({ Component = Box, ...props }: AwardEntryProps) => { + return ( + + + + {props.year} + + + + {props.title} + + + {props.organization} + + + {props.location} + + + + + ) +} + +export default Award diff --git a/src/components/atoms/Award/index.tsx b/src/components/atoms/Award/index.tsx new file mode 100644 index 0000000..0fb9f24 --- /dev/null +++ b/src/components/atoms/Award/index.tsx @@ -0,0 +1 @@ +export { default } from './Award'