@serendie/ui
Version:
Adaptive UI component library as part of Serendie Design System by Mitsubishi Electric
31 lines (30 loc) • 1.18 kB
TypeScript
import { RadioGroupItemProps } from '@ark-ui/react';
import { RecipeVariantProps } from '../../../styled-system/css';
export declare const radioIconCss: {
flexShrink: number;
cursor: string;
".group:has(:focus-visible) &": {
backgroundColor: string;
borderRadius: string;
};
};
export declare const radioCheckedIconCss: {
color: string;
_disabled: {
color: string;
};
};
export declare const radioUncheckedIconCss: {
color: string;
_disabled: {
color: string;
};
};
export declare const RadioButtonStyle: import('../../../styled-system/types').SlotRecipeRuntimeFn<"item" | "itemControl" | "checkedIcon" | "itemTextGroup" | "itemText" | "helperText" | "unCheckedIcon", import('../../../styled-system/types').SlotRecipeVariantRecord<"item" | "itemControl" | "checkedIcon" | "itemTextGroup" | "itemText" | "helperText" | "unCheckedIcon">>;
type RadioButtonItemProps = {
label?: string;
helperText?: string;
};
export type RadioButtonProps = RadioGroupItemProps & RecipeVariantProps<typeof RadioButtonStyle> & RadioButtonItemProps;
export declare const RadioButton: React.FC<RadioButtonProps>;
export {};