Skip to content

Commit

Permalink
feat(ZNTA-1736): ValidationOptions component and story created. Linti…
Browse files Browse the repository at this point in the history
…ng errors fixed.
  • Loading branch information
kgough committed May 24, 2017
1 parent adb9cb8 commit 2a761f2
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 4 deletions.
@@ -0,0 +1,11 @@
import React from 'react'
import { storiesOf, action } from '@kadira/storybook'
import ValidationOptions from '.'

/*
* See .storybook/README.md for info on the component storybook.
*/
storiesOf('ValidationOptions', module)
.add('default', () => (
<ValidationOptions />
))
@@ -1,9 +1,9 @@
import React from 'react'
import {Button, Checkbox} from 'react-bootstrap'
import { Checkbox } from 'react-bootstrap'

const ValidationOptions = React.createClass({

render () {
render: function () {
return (
<div>
<h2 className="validation">Validation options</h2>
Expand Down Expand Up @@ -46,6 +46,7 @@ const ValidationOptions = React.createClass({
</ul>
</div>
)
}
})

export default ValidationOptions
Expand Down
Expand Up @@ -11,3 +11,5 @@ require('./ProgressBar/ProgressBar.story.js')
require('./GlossarySearchInput/GlossarySearchInput.story.js')
require('./GlossaryTerm/GlossaryTerm.story.js')
require('./GlossaryTermModal/GlossaryTermModal.story.js')
require('./ValidationOptions/ValidationOptions.story')

Expand Up @@ -5,14 +5,14 @@ import ValidationOptions from '../components/ValidationOptions'

const SidebarSettings = React.createClass({

static propTypes: {
propTypes: {
/* close the sidebar */
close: PropTypes.func.isRequired
},

sidebarDetails () {
return (
{ValidationOptions}
<ValidationOptions />
)
},

Expand Down

0 comments on commit 2a761f2

Please sign in to comment.