mirror of
https://github.com/vale981/Vulcan
synced 2025-03-06 10:01:40 -05:00
accept either string or component as ModalTrigger title
This commit is contained in:
parent
2e439a6c89
commit
956f3eb162
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ ModalTrigger.propTypes = {
|
||||||
label: PropTypes.string,
|
label: PropTypes.string,
|
||||||
component: PropTypes.object,
|
component: PropTypes.object,
|
||||||
size: PropTypes.string,
|
size: PropTypes.string,
|
||||||
title: PropTypes.string
|
title: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
||||||
}
|
}
|
||||||
|
|
||||||
ModalTrigger.defaultProps = {
|
ModalTrigger.defaultProps = {
|
||||||
|
|
Loading…
Add table
Reference in a new issue