Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
import React from 'react';
const style = {
title: {
fontSize: '24px',
fontWeight: 'bold',
marginTop: '5px',
marginBottom: '10px',
},
};
function Title({ children }) {
return (
<h1 style={style.title}>
{children}
</h1>
);
}
export default Title;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.