Skip to content
This repository has been archived by the owner on Mar 4, 2020. It is now read-only.

docs(Dialog): remove cancel button in an example containing X #1949

Merged
merged 4 commits into from
Sep 19, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
### Documentation
- Remove Usage tab @lucivpav ([#1948](https://github.com/stardust-ui/react/pull/1948))

### Documentation
- Remove cancel button in a `Dialog` example with a close action @lucivpav ([#1949](https://github.com/stardust-ui/react/pull/1949))

<!--------------------------------[ v0.38.1 ]------------------------------- -->
## [v0.38.1](https://github.com/stardust-ui/react/tree/v0.38.1) (2019-09-13)
[Compare changes](https://github.com/stardust-ui/react/compare/v0.38.0...v0.38.1)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ const DialogExampleHeaderAction: React.FC = () => {
return (
<Dialog
open={open}
onCancel={() => setOpen(false)}
onOpen={(e, { open }) => setOpen(open)}
cancelButton="Cancel"
confirmButton="Confirm"
content="Are you sure you want to confirm this action?"
header="Action confirmation"
Expand Down