Skip to content

Commit

Permalink
🐛 Finally fix the dialog title!
Browse files Browse the repository at this point in the history
  • Loading branch information
Mibou committed Sep 15, 2023
1 parent 3182b75 commit 2d65a32
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/components/dialogs/Dialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,12 @@ export const Dialog = (props: DialogProps) => {
dismissable={props.dismissable}
style={styles.dialog}
>
<Headline size="h4" style={titleStyle}>
{props.title}
</Headline>
{props.children}
<BaseDialog.Title>
<Headline size="h4" style={titleStyle}>
{props.title}
</Headline>
</BaseDialog.Title>
<BaseDialog.Content>{props.children}</BaseDialog.Content>
<View style={styles.actions}>
{props.actions.cancel && (
<Button
Expand Down

0 comments on commit 2d65a32

Please sign in to comment.