mirror of
https://github.com/binwiederhier/ntfy.git
synced 2025-06-17 18:13:21 +02:00
WIP: React
This commit is contained in:
parent
ce9e9f3e0d
commit
4c4e689af4
20 changed files with 31671 additions and 0 deletions
web/src
17
web/src/Title.js
Normal file
17
web/src/Title.js
Normal file
|
@ -0,0 +1,17 @@
|
|||
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;
|
Loading…
Add table
Add a link
Reference in a new issue