fix: Add paragraph prop for bottom margin

Signed-off-by: Carlos Esteban Lopez <lcarlosesteb@vmware.com>
This commit is contained in:
Carlos Esteban Lopez
2023-01-03 12:43:54 -05:00
committed by Carlos Lopez
parent e16f805242
commit 2bdd1f92c1
14 changed files with 35 additions and 26 deletions
@@ -21,12 +21,12 @@ import { useRandomJoke } from './Context';
export const Content = () => {
const { joke, loading } = useRandomJoke();
if (loading) return <Typography>Loading...</Typography>;
if (loading) return <Typography paragraph>Loading...</Typography>;
return (
<div>
<Typography>{joke.setup}</Typography>
<Typography>{joke.punchline}</Typography>
<Typography paragraph>{joke.setup}</Typography>
<Typography paragraph>{joke.punchline}</Typography>
</div>
);
};