/* * (c) Copyright 2026 Palantir Technologies Inc. All rights reserved. */ import type { Meta, StoryObj } from "@storybook/react-vite"; import { storybookLayoutDecorator } from "@storybook-common"; import { Flex } from "@blueprintjs/labs"; import { Button } from "../button/buttons"; import { ControlGroup } from "./controlGroup"; import { InputGroup } from "./inputGroup"; const meta: Meta = { title: "Core/Form/ControlGroup", component: ControlGroup, decorators: [storybookLayoutDecorator], tags: ["autodocs"], args: { fill: false, vertical: false, }, argTypes: { fill: { control: "boolean", }, vertical: { control: "boolean", }, }, } satisfies Meta; export default meta; type Story = StoryObj; /** * A basic control group with default styling containing an input and a button. */ export const Default: Story = { argTypes: { fill: { table: { disable: true } }, children: { table: { disable: true, }, }, }, render: args => (