diff --git a/lib/Notification/blip/NotificationBlip.tsx b/lib/Notification/blip/NotificationBlip.tsx new file mode 100644 index 000000000..e7f12e3d3 --- /dev/null +++ b/lib/Notification/blip/NotificationBlip.tsx @@ -0,0 +1,11 @@ +import React from 'react'; +import cx from 'classnames'; + +interface Props { + className?: string; +} + +export default function NotificationBlip({ className }: Props) { + const classes = cx('notification-blip', className); + return
; +} \ No newline at end of file diff --git a/lib/Notification/blip/styles/NotificationBlip.scss b/lib/Notification/blip/styles/NotificationBlip.scss new file mode 100644 index 000000000..8e4b9070e --- /dev/null +++ b/lib/Notification/blip/styles/NotificationBlip.scss @@ -0,0 +1,9 @@ +.notification-blip { + @apply absolute h-full w-full; +} + +.notification-blip::after { + @apply rounded-full absolute block h-1.5 w-1.5 bg-red-40 right-[13%] top-[13%]; + + content: ''; +} \ No newline at end of file diff --git a/stories/components/Icons.stories.tsx b/stories/components/Icons.stories.tsx index 3700e2c3b..603e94fb7 100644 --- a/stories/components/Icons.stories.tsx +++ b/stories/components/Icons.stories.tsx @@ -125,6 +125,7 @@ const allIcons = (additionalProps?: any) => (