From c0b49ba6badfb70178ed9695d2e2080f6d225e34 Mon Sep 17 00:00:00 2001 From: oreqizer Date: Thu, 21 Sep 2023 12:57:51 +0200 Subject: [PATCH] chore(ButtonGroup): rewrite to tailwind --- .../ButtonGroup/ButtonGroup.stories.tsx | 66 +++++++++++++++++++ .../src/tmp-tailwind/ButtonGroup/index.tsx | 14 ++++ 2 files changed, 80 insertions(+) create mode 100644 packages/orbit-components/src/tmp-tailwind/ButtonGroup/ButtonGroup.stories.tsx create mode 100644 packages/orbit-components/src/tmp-tailwind/ButtonGroup/index.tsx diff --git a/packages/orbit-components/src/tmp-tailwind/ButtonGroup/ButtonGroup.stories.tsx b/packages/orbit-components/src/tmp-tailwind/ButtonGroup/ButtonGroup.stories.tsx new file mode 100644 index 0000000000..987ac4abf3 --- /dev/null +++ b/packages/orbit-components/src/tmp-tailwind/ButtonGroup/ButtonGroup.stories.tsx @@ -0,0 +1,66 @@ +import * as React from "react"; +import { text } from "@storybook/addon-knobs"; + +import * as Icons from "../../icons"; +import Button from "../../Button"; +import ButtonLink from "../../ButtonLink"; +import RenderInRtl from "../../utils/rtl/RenderInRtl"; + +import ButtonGroup from "."; + +export default { + title: "tailwind/ButtonGroup", +}; + +export const WithButtons = () => { + const dataTest = text("dataTest", "test"); + return ( + + + +