From c4b0fde7e10685ede2fbd328d6ea8cce587a8b5b Mon Sep 17 00:00:00 2001 From: Jason Liu Date: Thu, 23 Sep 2021 20:04:32 -0400 Subject: [PATCH] added component for nicer list bullets --- components/Bullet.tsx | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 components/Bullet.tsx diff --git a/components/Bullet.tsx b/components/Bullet.tsx new file mode 100644 index 0000000..59439bb --- /dev/null +++ b/components/Bullet.tsx @@ -0,0 +1,20 @@ +import {useTranslation} from 'next-i18next'; + +interface BulletProps { + text: string; +} + +function Bullet(props: BulletProps): JSX.Element { + const { t } = useTranslation(["index"]); + + return ( +
  • + + + + {props.text} +
  • + ) +} + +export default Bullet; \ No newline at end of file