@talend/react-components
Version:
Set of react components.
18 lines • 603 B
JavaScript
import PropTypes from 'prop-types';
import classNames from 'classnames';
import theme from './HeaderTitle.module.scss';
import { jsx as _jsx } from "react/jsx-runtime";
export default function HeaderTitle(props) {
return /*#__PURE__*/_jsx("div", {
className: classNames(theme.container, 'tc-header-title'),
children: /*#__PURE__*/_jsx("h4", {
className: classNames(theme.title, 'tc-header-title-text'),
title: props.title,
children: props.title
})
});
}
HeaderTitle.propTypes = {
title: PropTypes.string.isRequired
};
//# sourceMappingURL=HeaderTitle.component.js.map