Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(CozyDialogs): Add background prop to set a background
- Loading branch information
1 parent
63cfb7b
commit 38bf008
Showing
5 changed files
with
122 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
import PropTypes from 'prop-types' | ||
|
||
export default { | ||
size: PropTypes.oneOf(['small', 'medium', 'large']), | ||
open: PropTypes.bool.isRequired, | ||
onClose: PropTypes.func, | ||
onBack: PropTypes.func, | ||
disableTitleAutoPadding: PropTypes.bool, | ||
background: PropTypes.string, | ||
title: PropTypes.node, | ||
content: PropTypes.node, | ||
actions: PropTypes.node, | ||
actionsLayout: PropTypes.oneOf(['row', 'column']), | ||
size: PropTypes.oneOf(['small', 'medium', 'large']) | ||
onClose: PropTypes.func, | ||
onBack: PropTypes.func | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.