@zohodesk/dot
Version:
In this Library, we Provide Some Basic Components to Build Your Application
84 lines • 3.02 kB
JavaScript
import PropTypes from 'prop-types';
export const propTypes = {
activeStyle: PropTypes.string,
arrowIconPosition: PropTypes.oneOf(['default', 'overlay']),
bottom: PropTypes.number,
boxPosition: PropTypes.oneOf(['bottomRight', 'bottomLeft', 'bottomCenter', 'topRight', 'topLeft', 'topCenter', 'rightTop', 'rightBottom', 'rightCenter', 'leftTop', 'leftBottom', 'leftCenter']),
boxSize: PropTypes.oneOf(['xsmall', 'small', 'medium', 'mlarge', 'large']),
children: PropTypes.node,
className: PropTypes.string,
dataId: PropTypes.string,
dataSelectorId: PropTypes.string,
dataTitle: PropTypes.string,
getContainerRef: PropTypes.func,
getNextOptions: PropTypes.func,
getTargetRef: PropTypes.func,
groupNameKey: PropTypes.string,
groupOptionsKey: PropTypes.string,
hoverStyle: PropTypes.string,
hoverType: PropTypes.oneOf(['default', 'border', 'bg']),
iconName: PropTypes.string,
iconSize: PropTypes.string,
idName: PropTypes.string,
isArrow: PropTypes.bool,
isDataLoaded: PropTypes.bool,
isDisabled: PropTypes.bool,
isEditable: PropTypes.bool,
isGroupDropDown: PropTypes.bool,
isNeedEffect: PropTypes.bool,
isNextOptions: PropTypes.bool,
isPadding: PropTypes.bool,
isPopupActive: PropTypes.bool,
isPopupOpen: PropTypes.bool,
isPopupReady: PropTypes.bool,
isReadOnly: PropTypes.bool,
isSearch: PropTypes.bool,
isToggleStateNeeded: PropTypes.bool,
keyName: PropTypes.string,
left: PropTypes.number,
needExternalPopupState: PropTypes.bool,
needResponsive: PropTypes.bool,
needSearchFetching: PropTypes.bool,
needTick: PropTypes.bool,
onClick: PropTypes.func,
onSearch: PropTypes.func,
options: PropTypes.array.isRequired,
palette: PropTypes.oneOf(['dark']),
placeHolderText: PropTypes.string,
position: PropTypes.string,
removeClose: PropTypes.func,
right: PropTypes.number,
searchBoxSize: PropTypes.oneOf(['small', 'medium', 'xmedium']),
searchEmptyHint: PropTypes.string,
searchErrorText: PropTypes.string,
selectedId: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
showIconOnHover: PropTypes.bool,
showOnHover: PropTypes.bool,
title: PropTypes.string,
togglePopup: PropTypes.func,
value: PropTypes.node,
onDropDownOpen: PropTypes.func,
onDropDownClose: PropTypes.func,
getFooter: PropTypes.func,
customProps: PropTypes.shape({
ToggleDropDownProps: PropTypes.object,
DropBoxProps: PropTypes.object,
TextBoxIconProps: PropTypes.object,
ListItemWithIconProps: PropTypes.object,
ListItemProps: PropTypes.object
}),
preventPopupClose: PropTypes.bool,
needMultiLineText: PropTypes.bool,
customClass: PropTypes.shape({
customDropBox: PropTypes.string,
customListBox: PropTypes.string
}),
onSelectLabel: PropTypes.func,
isAbsolutePositioningNeeded: PropTypes.bool,
isRestrictScroll: PropTypes.bool,
positionsOffset: PropTypes.object,
targetOffset: PropTypes.object,
from: PropTypes.string,
top: PropTypes.number,
searchFields: PropTypes.array
};