design-react-kit
Version:
Componenti React per Bootstrap 5
10 lines • 435 B
JavaScript
import React from 'react';
import classNames from 'classnames';
export const CalloutText = ({ bigText = false, children, className, tag = 'p', testId, ...attributes }) => {
const Tag = tag;
const classes = classNames(className, {
'callout-big-text': bigText
});
return (React.createElement(Tag, { className: classes, ...attributes, "data-testid": testId }, children));
};
//# sourceMappingURL=CalloutText.js.map