welcome-ui
Version:
Customizable design system with react • styled-components • styled-system and ariakit.
15 lines (14 loc) • 671 B
TypeScript
import { default as React } from 'react';
import { CreateWuiProps } from '../System';
import { DefaultFieldStylesProps } from '../../utils/field-styles';
import type * as Ariakit from '@ariakit/react';
export interface RadioTabsOptions extends DefaultFieldStylesProps {
checked?: boolean;
disabled?: boolean;
disabledIcon?: React.ReactElement;
label: React.ReactElement;
onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
value: Ariakit.RadioStoreState['value'];
}
export type RadioTabsProps = CreateWuiProps<'input', RadioTabsOptions>;
export declare const RadioTab: import('../System').CreateWuiComponent<"input", RadioTabsProps>;