1
0
Fork 0
mirror of https://github.com/binwiederhier/ntfy.git synced 2025-05-09 18:02:36 +02:00
ntfy/web/src/Title.js
Philipp Heckel 4c4e689af4 WIP: React
2022-02-18 09:49:51 -05:00

17 lines
352 B
JavaScript

import * as React from 'react';
import PropTypes from 'prop-types';
import Typography from '@mui/material/Typography';
function Title(props) {
return (
<Typography component="h2" variant="h6" color="primary" gutterBottom>
{props.children}
</Typography>
);
}
Title.propTypes = {
children: PropTypes.node,
};
export default Title;