diff --git a/new-docs/pages/draft/button-group/api.ts b/new-docs/pages/draft/button-group/api.ts new file mode 100644 index 00000000..64fcbd98 --- /dev/null +++ b/new-docs/pages/draft/button-group/api.ts @@ -0,0 +1,19 @@ +import { APIData } from "../../../utils/api/api"; + +export const ButtonGroupAPI: APIData[] = [ + { + prop: "skipChildTypeCheck", + description: { + type: "boolean", + description: "", + }, + }, + { + prop: "fill", + description: { + type: "boolean", + description: + "If set to true, the button's width is 100% of its container.", + }, + }, +]; diff --git a/new-docs/pages/draft/button-group/button-group.tsx b/new-docs/pages/draft/button-group/button-group.tsx new file mode 100644 index 00000000..c5d9b1b4 --- /dev/null +++ b/new-docs/pages/draft/button-group/button-group.tsx @@ -0,0 +1,19 @@ +import { GoSearch } from "react-icons/go"; +import { Button, ButtonGroup, Input, Select } from "@moai/core/src"; + +export const ButtonGroupExample = (): JSX.Element => { + const input = ; + const button =