refactor: new settings components

This commit is contained in:
David Ralph
2021-03-21 13:09:06 +00:00
parent f6564fa758
commit d99cc7869a
10 changed files with 182 additions and 253 deletions

View File

@@ -9,6 +9,8 @@ import Photographer from '@material-ui/icons/Person';
export default function PhotoInformation(props) {
const language = window.language.widgets.background;
if (props.info.hidden === true) return null;
return (
<div className='photoInformation'>
<h1>{language.credit} {props.info.credit}</h1>