Skip to content

Commit

Permalink
Merge pull request #1587 from sharetribe/paragraph-can-be-empty
Browse files Browse the repository at this point in the history
P.js: remove requirement for children
  • Loading branch information
Gnito authored Feb 17, 2023
2 parents 0b1d904 + 49400ca commit b86594e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/containers/PageBuilder/Primitives/P/P.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,11 @@ P.displayName = 'P';
P.defaultProps = {
rootClassName: null,
className: null,
children: null,
};

P.propTypes = {
rootClassName: string,
className: string,
children: node.isRequired,
children: node,
};

0 comments on commit b86594e

Please sign in to comment.