UNPKG

@wix/design-system

Version:

@wix/design-system

12 lines 389 B
import React from 'react'; import PropTypes from 'prop-types'; import Text from '../../Text'; const ExtraText = ({ dataHook, text }) => { return (React.createElement(Text, { secondary: true, dataHook: dataHook }, text)); }; ExtraText.propTypes = { dataHook: PropTypes.string, text: PropTypes.string.isRequired, }; export default ExtraText; //# sourceMappingURL=ExtraText.js.map