Skip to content

Commit

Permalink
Merge pull request #3024 from batbyR/fix/richtextinput-toolbar-props
Browse files Browse the repository at this point in the history
Fix RichTextInput toolbar PropsType
  • Loading branch information
Gildas Garcia authored Mar 19, 2019
2 parents 6265970 + 22bdf11 commit fb13313
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion packages/ra-input-rich-text/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,14 @@ export class RichTextInput extends Component {
meta: PropTypes.object,
options: PropTypes.object,
source: PropTypes.string,
toolbar: PropTypes.oneOfType([PropTypes.array, PropTypes.bool]),
toolbar: PropTypes.oneOfType([
PropTypes.array,
PropTypes.bool,
PropTypes.shape({
container: PropTypes.array,
handlers: PropTypes.object,
}),
]),
fullWidth: PropTypes.bool,
};

Expand Down

0 comments on commit fb13313

Please sign in to comment.