Skip to content
Prev Previous commit
Next Next commit
Added isRequired to PropTypes for Normal and Tabs Forms
  • Loading branch information
jonisaa committed Aug 8, 2016
commit f2c2b13b109d20bf6db46601a57a04a249eb43d0
4 changes: 2 additions & 2 deletions src/components/group/NormalForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import Header from '../Header';

export default class NormalForm extends Component {
static propTypes = {
content: PropTypes.array,
title: PropTypes.string
content: PropTypes.array.isRequired,
title: PropTypes.string.isRequired
};

render() {
Expand Down
4 changes: 2 additions & 2 deletions src/components/group/TabsForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import { Nav, NavItem } from 'react-bootstrap';

export default class TabsForm extends Component {
static propTypes = {
content: PropTypes.array,
layout: PropTypes.object
content: PropTypes.array.isRequired,
layout: PropTypes.object.isRequired
};

state = {
Expand Down