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.
2 parents 5478430 + 6739e5c commit 0df3e76Copy full SHA for 0df3e76
.eslintignore
@@ -1,2 +1,3 @@
1
node_modules/
2
dist/
3
+demo/
stories/Live.js
@@ -1,4 +1,5 @@
import React from 'react';
+import PropTypes from 'prop-types';
import styled from 'styled-components';
4
import { storiesOf } from '@storybook/react';
5
import { withKnobs, boolean } from '@storybook/addon-knobs/react';
@@ -144,6 +145,9 @@ const TestComponent = ({ live }) => {
144
145
</Container>
146
);
147
};
148
+TestComponent.propTypes = {
149
+ live: PropTypes.object
150
+}
151
const CustomEditor = () => {
152
// eslint-disable-next-line no-shadow
153
const [code, updateCode] = React.useState(functionExample);
0 commit comments