@zohodesk/components
Version:
In this Package, we Provide Some Basic Components to Build Web App
31 lines • 1.06 kB
JavaScript
import PropTypes from 'prop-types';
export const propTypes = {
animated: PropTypes.bool,
autoFocus: PropTypes.bool,
borderColor: PropTypes.oneOf(['transparent', 'default']),
dataId: PropTypes.string,
dataSelectorId: PropTypes.string,
getRef: PropTypes.func,
htmlId: PropTypes.string,
isDisabled: PropTypes.bool,
isReadOnly: PropTypes.bool,
maxLength: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
needAppearance: PropTypes.bool,
needBorder: PropTypes.bool,
needEffect: PropTypes.bool,
needReadOnlyStyle: PropTypes.bool,
onBlur: PropTypes.func,
onChange: PropTypes.func,
onFocus: PropTypes.func,
onKeyDown: PropTypes.func,
placeHolder: PropTypes.string,
resize: PropTypes.oneOf(['horizontal', 'vertical', 'both', 'none']),
size: PropTypes.oneOf(['xsmall', 'small', 'xmedium', 'medium', 'large']),
text: PropTypes.string,
variant: PropTypes.oneOf(['default', 'primary']),
customClass: PropTypes.string,
a11y: PropTypes.shape({
ariaLabel: PropTypes.string,
ariaLabelledby: PropTypes.string
})
};