@theme-ui/components
Version:
Primitive layout, typographic, and other components for use with Theme UI.
13 lines (12 loc) • 493 B
TypeScript
import React from 'react';
import { BoxOwnProps } from './Box';
import { Assign, ForwardRef } from './types';
export interface SelectProps extends Assign<React.ComponentPropsWithRef<'select'>, BoxOwnProps> {
arrow?: React.ReactElement;
}
/**
* Select variants can be defined in `theme.forms`
* and the component uses the `theme.forms.select` variant by default.
* @see https://theme-ui.com/components/select/
*/
export declare const Select: ForwardRef<HTMLSelectElement, SelectProps>;