react-truncate-dom
v1.0.0
Published
react-truncate-dom =========================
Downloads
3
Readme
react-truncate-dom
propTypes = {
html: PropTypes.string,
line: PropTypes.number,
truncateText: PropTypes.string,
isStripTags: PropTypes.bool,
allowedTags: PropTypes.string,
};
defaultProps = {
html: '',
line: 1,
truncateText: '...',
isStripTags: true,
allowedTags: '<em>',
};