@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
49 lines • 1.54 kB
JavaScript
import PropTypes from 'prop-types';
export const CardHeader_propTypes = {
children: PropTypes.element,
dataId: PropTypes.string,
isScroll: PropTypes.bool,
customClass: PropTypes.string,
dataSelectorId: PropTypes.string
};
export const CardContent_propTypes = {
children: PropTypes.node,
dataId: PropTypes.string,
eleRef: PropTypes.func,
isScrollAttribute: PropTypes.bool,
onScroll: PropTypes.func,
scroll: PropTypes.oneOf(['vertical', 'horizontal', 'both', 'none']),
shrink: PropTypes.bool,
customClass: PropTypes.string,
preventParentScroll: PropTypes.oneOf(['vertical', 'horizontal', 'both']),
dataSelectorId: PropTypes.string
};
export const Card_propTypes = {
childTypes: PropTypes.object,
children: PropTypes.node,
dataId: PropTypes.string,
fetchData: PropTypes.oneOfType([PropTypes.func, PropTypes.bool]),
from: PropTypes.number,
isScrollAttribute: PropTypes.bool,
// isScrollShadow: PropTypes.bool,
limit: PropTypes.number,
noMoreData: PropTypes.bool,
noNeedUpScroll: PropTypes.bool,
onClick: PropTypes.func,
onScroll: PropTypes.func,
scrollAt: PropTypes.string,
customClass: PropTypes.string,
htmlId: PropTypes.string,
a11y: PropTypes.shape({
role: PropTypes.string
}),
isPercentageScroll: PropTypes.bool,
eleRef: PropTypes.func,
scrollDirection: PropTypes.oneOf(['topToBottom', 'bottomToTop'])
};
export const CardFooter_propTypes = {
children: PropTypes.node,
customClass: PropTypes.string,
dataId: PropTypes.string,
dataSelectorId: PropTypes.string
};