Skip to content

Commit

Permalink
chore: Allowing links to not need a URL
Browse files Browse the repository at this point in the history
  • Loading branch information
zstix committed May 12, 2020
1 parent 26682c7 commit 8342979
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import PropTypes from 'prop-types';
// it is not very performant.
export const link = PropTypes.shape({
displayName: PropTypes.string.isRequired,
url: PropTypes.string.isRequired,
url: PropTypes.string,
active: PropTypes.bool,
children: PropTypes.array,
});

0 comments on commit 8342979

Please sign in to comment.