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

28 lines 1.07 kB
import PropTypes from 'prop-types'; export const propTypes = { children: PropTypes.node, dataId: PropTypes.string, dataSelectorId: PropTypes.string, disabled: PropTypes.bool, getRef: PropTypes.func, isBold: PropTypes.bool, needAppearance: PropTypes.bool, onClick: PropTypes.func, palette: PropTypes.oneOf(['plainPrimary', 'plainSecondary', 'plainDanger', 'plainSuccess', 'primary', 'primaryFilled', 'danger', 'dangerFilled', 'secondary', 'secondaryFilled', 'success', 'successFilled', 'info', 'tertiaryFilled']), rounded: PropTypes.bool, size: PropTypes.oneOf(['small', 'medium', 'large', 'xlarge']), status: PropTypes.oneOf(['loading', 'success', 'none']), text: PropTypes.string, title: PropTypes.string, shouldStrikeThroughDisabled: PropTypes.bool, customClass: PropTypes.shape({ customButton: PropTypes.string, customStatus: PropTypes.string, customStatusSize: PropTypes.string }), customStyle: PropTypes.object, customProps: PropTypes.object, id: PropTypes.string, a11y: PropTypes.object }; export default propTypes;