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.
as
1 parent ca1a38e commit 553c862Copy full SHA for 553c862
src/propTypes.js
@@ -15,8 +15,7 @@ Object.keys(iStates).forEach(iState => {
15
});
16
17
const propTypes = {
18
- as: PropTypes.oneOfType([PropTypes.string, PropTypes.func, PropTypes.element])
19
- .isRequired,
+ as: PropTypes.any.isRequired,
20
children: PropTypes.node,
21
normal: PropTypes.oneOfType([
22
PropTypes.object,
0 commit comments