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 0f8979c commit 618180bCopy full SHA for 618180b
src/docs/components/ItemWithLink.js
@@ -1,4 +1,5 @@
1
import React from "react";
2
+import PropTypes from "prop-types";
3
import Item from "./SimpleItem";
4
5
const ItemWithLink = ({ tabIndex, text }) => (
@@ -9,4 +10,9 @@ const ItemWithLink = ({ tabIndex, text }) => (
9
10
</Item>
11
);
12
13
+ItemWithLink.propTypes = {
14
+ text: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
15
+ tabIndex: PropTypes.oneOfType([PropTypes.number, PropTypes.string])
16
+};
17
+
18
export default ItemWithLink;
0 commit comments