UNPKG

@yozora/react-strong

Version:
17 lines (14 loc) 473 B
import cn from 'clsx'; import PropTypes from 'prop-types'; import React from 'react'; const Strong = props => { const { children, className, style } = props; return (React.createElement("strong", { className: cn('yozora-strong', className), style: style }, children)); }; Strong.propTypes = { children: PropTypes.node, className: PropTypes.string, style: PropTypes.object, }; Strong.displayName = 'YozoraStrong'; export { Strong, Strong as default };