-
Notifications
You must be signed in to change notification settings - Fork 53
feat(Dialog): Add ability to set custom footer #2005
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2005 +/- ##
==========================================
+ Coverage 75.8% 76.73% +0.92%
==========================================
Files 160 161 +1
Lines 5572 5498 -74
Branches 1614 1586 -28
==========================================
- Hits 4224 4219 -5
+ Misses 1334 1266 -68
+ Partials 14 13 -1
Continue to review full report at Codecov.
|
DialogFooter.create = createShorthandFactory({ Component: DialogFooter }) | ||
|
||
/** | ||
* A TooltipContent contains the content of a Tooltip component. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops, incorrect description...
</Flex> | ||
), | ||
}, | ||
}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This thing looks really weird, but we agreed to tackle it separately.
@kolaps33 Let's also add |
@@ -15,6 +15,11 @@ const DialogContentExamples = () => ( | |||
description="A dialog can contain an action in the header." | |||
examplePath="components/Dialog/Content/DialogExampleHeaderAction" | |||
/> | |||
<ComponentExample | |||
title="Footer" | |||
description="A dialog can contain a custom footer." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
description="A dialog can contain a custom footer." | |
description="A dialog can contain a footer." |
I want to keep this thing aligned with other examples.
docs/src/examples/components/Dialog/Content/DialogExampleFooter.shorthand.tsx
Outdated
Show resolved
Hide resolved
docs/src/examples/components/Dialog/Content/DialogExampleFooter.shorthand.tsx
Show resolved
Hide resolved
return ( | ||
<Flex styles={styles}> | ||
{/* <Button text>Privacy notes</Button> */} | ||
{/* Privacy notes */} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops, let's remove comments
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's add changelog and we are ready to go 🚀
No description provided.