refactor: The Draft component is renamed to Render. Draft is deprecated
This commit is contained in:
parent
7bc22909b7
commit
1af55d9e22
24 changed files with 8 additions and 6 deletions
|
@ -16,13 +16,11 @@ const Blockquote = props => {
|
|||
|
||||
Blockquote.propTypes = {
|
||||
type: PropTypes.string.isRequired,
|
||||
children: PropTypes.node,
|
||||
style: PropTypes.object
|
||||
children: PropTypes.node
|
||||
}
|
||||
|
||||
Blockquote.defaultProps = {
|
||||
type: 'note',
|
||||
children: null,
|
||||
style: {}
|
||||
children: null
|
||||
}
|
||||
export default Blockquote
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue