Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import './HeaderText.scss';
- export default ({
- large,
- children,
- className,
- ...props
- }) => {
- const classList = `header__text ${large && 'header__text--large'} ${className}`;
- return (
- <h1 className={classList} {...props}>{children}</h1>
- );
- };
Add Comment
Please, Sign In to add comment