@saleor/macaw-ui
Version:
Saleor's UI component library
15 lines (13 loc) • 411 B
TypeScript
import { PropsWithBox } from '../Box';
import { DataAttributes } from '../types';
import { ReactNode } from 'react';
export type SwitchItemProps = PropsWithBox<{
value: string;
id: string;
children: ReactNode;
disabled?: boolean;
}> & DataAttributes;
export declare const SwitchItem: {
({ value, id, disabled, children, ...rest }: SwitchItemProps): JSX.Element;
displayName: string;
};