@zohodesk/components
Version:
In this Package, we Provide Some Basic Components to Build Web App
48 lines • 1.47 kB
JavaScript
import PropTypes from 'prop-types';
export const CardHeader_propTypes = {
children: PropTypes.node,
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
};
export const CardFooter_propTypes = {
children: PropTypes.node,
customClass: PropTypes.string,
dataId: PropTypes.string,
dataSelectorId: PropTypes.string
};