mirror of
https://github.com/binwiederhier/ntfy.git
synced 2025-05-09 18:02:36 +02:00
17 lines
352 B
JavaScript
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;
|