@yozora/react-strong
Version:
render markdown strong node in react
17 lines (14 loc) • 473 B
JavaScript
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 };