UNPKG

@primer/react

Version:

An implementation of GitHub's Primer Design System using React

14 lines 768 B
import React from 'react'; import type { StyledWrapperProps } from '../internal/components/TextInputWrapper'; import type { ForwardRefComponent as PolymorphicForwardRefComponent } from '../utils/polymorphic'; export type SelectProps = Omit<Omit<React.ComponentProps<'select'>, 'size'> & Omit<StyledWrapperProps, 'variant'>, 'multiple' | 'hasLeadingVisual' | 'hasTrailingVisual' | 'as'> & { placeholder?: string; }; declare const _default: PolymorphicForwardRefComponent<"select", SelectProps> & { Option: React.FC<React.PropsWithChildren<React.HTMLProps<HTMLOptionElement> & { value: string; }>>; OptGroup: React.FC<React.PropsWithChildren<React.HTMLProps<HTMLOptGroupElement>>>; }; export default _default; //# sourceMappingURL=Select.d.ts.map