Skip to content

Commit

Permalink
Optima page heading: add end deco
Browse files Browse the repository at this point in the history
  • Loading branch information
enricoros committed Dec 23, 2024
1 parent cb2d6db commit b4a586f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/common/layout/optima/page/OptimaAppPageHeading.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@ export function OptimaAppPageHeading(props: {
tagline?: React.ReactNode;
accentedTagline?: boolean;
startDecorator?: React.ReactNode;
endDecorator?: React.ReactNode;
noDivider?: boolean;
}) {
return (
<Box mb={2.25}>
{!!props.title && <Typography level='h2' sx={{ textAlign: 'start' }} startDecorator={props.startDecorator}>
{!!props.title && <Typography level='h2' sx={{ textAlign: 'start' }} startDecorator={props.startDecorator} endDecorator={props.endDecorator}>
{props.title}
</Typography>}
{!!props.tagline && <Typography level='body-sm' sx={{ color: !props.accentedTagline ? undefined : 'text.secondary', textAlign: 'start', mt: 0.75 }}>
Expand Down

0 comments on commit b4a586f

Please sign in to comment.