diff --git a/src/components/Dropdown/index.stories.tsx b/src/components/Dropdown/index.stories.tsx index f986189..ab52db2 100644 --- a/src/components/Dropdown/index.stories.tsx +++ b/src/components/Dropdown/index.stories.tsx @@ -1,6 +1,6 @@ import DropdownComponent from "./index"; import { useState } from "react"; -import { Box, Grid } from "../Box"; +import { Box, Flex, Grid } from "../Box"; import Text from "../Text"; export default { @@ -13,6 +13,14 @@ export const Dropdown = () => { const [value, setValue] = useState(1); const [value2, setValue2] = useState(1); const [value3, setValue3] = useState(1); + + const CustomItem = (color: string, value: string) => ( + + + {value} + + ); + return ( @@ -32,14 +40,18 @@ export const Dropdown = () => { - With long title + With custom items void; -} \ No newline at end of file +}