sparkl-ui
Version:
Modern and minimalist React UI library.
18 lines (17 loc) • 600 B
TypeScript
import React from 'react';
interface Props {
value?: string;
displayName?: React.ReactNode;
disabled?: boolean;
className?: string;
divider?: boolean;
label?: boolean;
preventAllEvents?: boolean;
ellipsis?: boolean;
}
declare type NativeAttrs = Omit<React.HTMLAttributes<any>, keyof Props>;
export declare type SelectOptionProps = Props & NativeAttrs;
declare const SelectOption: React.ForwardRefExoticComponent<Props & NativeAttrs & {
children?: React.ReactNode;
} & import("../use-scale").ScaleProps & React.RefAttributes<unknown>>;
export default SelectOption;