mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-16 11:17:02 +02:00
you don't have to pass a description, and if you do, it could be JSX or a string
This commit is contained in:
parent
d0a4f908cf
commit
e7be1ae832
@ -19,7 +19,6 @@ var React = require("react");
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
propTypes: {
|
propTypes: {
|
||||||
title: React.PropTypes.string,
|
title: React.PropTypes.string,
|
||||||
description: React.PropTypes.string,
|
|
||||||
button: React.PropTypes.string,
|
button: React.PropTypes.string,
|
||||||
focus: React.PropTypes.bool,
|
focus: React.PropTypes.bool,
|
||||||
onFinished: React.PropTypes.func.isRequired,
|
onFinished: React.PropTypes.func.isRequired,
|
||||||
|
Loading…
Reference in New Issue
Block a user