UNPKG

@zohodesk/components

Version:

Dot UI is a customizable React component library built to deliver a clean, accessible, and developer-friendly UI experience. It offers a growing set of reusable components designed to align with modern design systems and streamline application development

66 lines 1.87 kB
import PropTypes from 'prop-types'; import { PopOver_propTypes } from "./../../PopOver/props/propTypes"; export const DropDown_propTypes = { ...PopOver_propTypes }; export const DropDownTarget_propTypes = { children: PropTypes.node }; export const DropDownContainer_propTypes = { children: PropTypes.node }; export const DropDownItemContainer_propTypes = { children: PropTypes.node, dataId: PropTypes.string, getRef: PropTypes.func, onScroll: PropTypes.func }; export const DropDownHeading_propTypes = { children: PropTypes.node, customClass: PropTypes.string, palette: PropTypes.oneOf(['light', 'dark']), text: PropTypes.string, title: PropTypes.string, htmlId: PropTypes.string, a11y: PropTypes.shape({ role: PropTypes.string, ariaLabelledby: PropTypes.string, ariaLabel: PropTypes.string }), dataId: PropTypes.string, dataSelectorId: PropTypes.string }; export const DropDownItem_propTypes = { active: PropTypes.bool, children: PropTypes.node, dataId: PropTypes.string, getRef: PropTypes.func, hightlight: PropTypes.bool, id: PropTypes.string, index: PropTypes.number, onClick: PropTypes.func, onHover: PropTypes.func, value: PropTypes.string, customClass: PropTypes.string }; export const DropDownSearch_propTypes = { getRef: PropTypes.func, id: PropTypes.string, maxLength: PropTypes.string, name: PropTypes.string, onBlur: PropTypes.func, onChange: PropTypes.func, onKeyDown: PropTypes.func, placeHolder: PropTypes.string, placeHolder: PropTypes.string, size: PropTypes.oneOf(['small', 'medium']), textBoxSize: PropTypes.string, value: PropTypes.string, customClass: PropTypes.shape({ searchClass: PropTypes.string, customTextBox: PropTypes.string }), dataId: PropTypes.string }; export const DropDownSeparator_propTypes = { customClass: PropTypes.string };