import React, { useState } from "react"; import styled from "styled-components"; import NotificationDot from "./NotificationDot"; import Button from "../Button/Button"; import ButtonMenu from "../ButtonMenu/ButtonMenu"; import ButtonMenuItem from "../ButtonMenu/ButtonMenuItem"; export default { title: "Components/NotificationDot", component: NotificationDot, argTypes: {}, }; export const Default: React.FC = () => { return ( ); }; const Row = styled.div` & > * + * { margin-left: 16px; } `; export const MenuButtons: React.FC = () => { const [index, setIndex] = useState(0); const handleClick = (newIndex) => setIndex(newIndex); return ( Button 1 Button 2 Button 3 Button 4 ); };