We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12949e3 commit 5e50f0dCopy full SHA for 5e50f0d
components/button/Button.js
@@ -174,7 +174,7 @@ const SegmentedButtonGroup = styled(Box).attrs(({ border }) => ({
174
`;
175
176
SegmentedButtonGroup.propTypes = {
177
- children: PropTypes.arrayOf(elementOfType(Button)),
+ children: PropTypes.arrayOf(elementOfType(Button)).isRequired,
178
...Box.propTypes,
179
};
180
components/dropdown/dropdown-menu.jsx
@@ -78,6 +78,6 @@ DropdownMenu.propTypes = {
78
elementOfType(MenuItemSecondaryText),
79
elementOfType(MenuItemTitle),
80
]),
81
- ),
+ ).isRequired,
82
...Popover.propTypes,
83
0 commit comments