Created
October 6, 2017 09:10
-
-
Save pashagray/26e61ce566cdf6c175cc224714c46cb3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react' | |
import Form from 'admin/components/Form' | |
class StudyGroupForm extends React.Component { | |
render() { | |
const schema = { | |
name: 'StudyGroup', | |
fields: [ | |
{ name: 'level', placeholder: '1', required: true }, | |
{ name: 'title', placeholder: 'A', required: true } | |
] | |
} | |
return( | |
<Form {...this.props} schema={schema} /> | |
) | |
} | |
} | |
export default StudyGroupForm; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment