@dcl/react-ecs
Version:
Decentraland ECS
14 lines (13 loc) • 434 B
TypeScript
import { PBUiDropdown } from '@dcl/ecs';
import { TextAlignType, UiFontType } from '../Label/types';
import { EntityPropTypes, ScaleUnit } from '../types';
/**
* @public
* Dropdown Props
*/
export interface UiDropdownProps extends EntityPropTypes, Omit<Partial<PBUiDropdown>, 'textAlign' | 'font' | 'fontSize'> {
onChange?(value: number): void;
font?: UiFontType;
textAlign?: TextAlignType;
fontSize?: ScaleUnit;
}