@react-pakistan/react-ui-collection
Version:
React UI Collection built upon React Storybook
36 lines (35 loc) • 741 B
TypeScript
import { ReactText } from 'react';
export interface IDropDownProps {
/**
* Drop Down Items
*/
dropDownItems?: Array<ReactText>;
}
export interface IDropDownContainerProps {
/**
* Min Width property for DropDown Container
* @default 12em
*/
minWidth?: string;
/**
* Margin property for DropDown Container
* @default 0
*/
margin?: string;
/**
* Padding property for DropDown Container
* @default 0.5em 1em
*/
padding?: string;
/**
* Border Radius property for DropDown Container
* @default 0.25em
*/
borderRadius?: string;
}
export interface IDropDownState {
/**
* DropDown open state
*/
isDropDownOpen: boolean;
}