react-hook-form-mantine
Version:
React hook form wrapper for Mantine components
23 lines (22 loc) • 1.14 kB
TypeScript
import { type StoryObj } from "@storybook/react";
import { Chip } from "./Chip";
declare const _default: {
title: string;
component: {
<T extends import("react-hook-form").FieldValues>({ name, control, defaultValue, rules, shouldUnregister, onChange, ...props }: import("./Chip").ChipProps<T>): import("react/jsx-runtime").JSX.Element;
Group: <T_1 extends import("react-hook-form").FieldValues>({ name, control, defaultValue, rules, shouldUnregister, onChange, ...props }: import("..").ChipGroupProps<T_1>) => import("react/jsx-runtime").JSX.Element;
Item: import("@mantine/core").MantineComponent<{
props: import("@mantine/core").ChipProps;
ref: HTMLInputElement;
stylesNames: import("@mantine/core").ChipStylesNames;
vars: import("@mantine/core").ChipCssVariables;
variant: import("@mantine/core").ChipVariant;
staticComponents: {
Group: typeof import("@mantine/core").ChipGroup;
};
}>;
};
};
export default _default;
type Story = StoryObj<typeof Chip>;
export declare const Primary: Story;