react-hook-form-mantine
Version:
React hook form wrapper for Mantine components
26 lines (25 loc) • 1.33 kB
TypeScript
import { type StoryObj } from "@storybook/react";
import { Checkbox } from "./Checkbox";
declare const _default: {
title: string;
component: {
<T extends import("react-hook-form").FieldValues>({ name, control, defaultValue, rules, shouldUnregister, onChange, ...props }: import("./Checkbox").CheckboxProps<T>): import("react/jsx-runtime").JSX.Element;
Group: <T_1 extends import("react-hook-form").FieldValues>({ name, control, defaultValue, rules, shouldUnregister, onChange, ...props }: import("..").CheckboxGroupProps<T_1>) => import("react/jsx-runtime").JSX.Element;
Item: import("@mantine/core").MantineComponent<{
props: import("@mantine/core").CheckboxProps;
ref: HTMLInputElement;
stylesNames: import("@mantine/core").CheckboxStylesNames;
vars: import("@mantine/core").CheckboxCssVariables;
staticComponents: {
Group: import("@mantine/core").MantineComponent<{
props: import("@mantine/core").CheckboxGroupProps;
ref: HTMLDivElement;
stylesNames: import("@mantine/core").InputWrapperStylesNames;
}>;
};
}>;
};
};
export default _default;
type Story = StoryObj<typeof Checkbox>;
export declare const Primary: Story;