-
Notifications
You must be signed in to change notification settings - Fork 18
Working Example
Mohith G edited this page Dec 7, 2017
·
1 revision
` import React from 'react';
export default class Input extends React.Component { constructor(props) { super(props); }
render() { return(
{this.props.label} {this.props.required ? * : ''}
)
}
}
`
` import React from 'react'; import Typeform from 'react-typeform';
class App extends React.Component {
onSubmit(e) { console.log(e); }
render() { return ( ); } }
export default App; `