beta-parity-react
Version:
Beta Parity React Components
25 lines • 827 B
TypeScript
import React from 'react';
import { CustomSelect } from './Custom';
import { NativeSelect } from './Native';
type NativeProps = React.ComponentProps<typeof NativeSelect> & {
/**
* Indicates whether the select component is native or custom.
*
* @default false
* @memberof SelectProps
*/
native: true;
};
type CustomProps = React.ComponentProps<typeof CustomSelect> & {
/**
* Indicates whether the select component is native or custom.
*
* @default false
* @memberof SelectProps
*/
native?: false;
};
export declare const Select: React.ForwardRefExoticComponent<(Omit<NativeProps, "ref"> | Omit<CustomProps, "ref">) & React.RefAttributes<HTMLDivElement | HTMLSelectElement>>;
export * from './Native';
export * from './Custom';
//# sourceMappingURL=index.d.ts.map