Skip to content

Commit

Permalink
import action from @storybook/addon-actions
Browse files Browse the repository at this point in the history
  • Loading branch information
seanf committed Feb 12, 2018
1 parent 833240e commit 5333bd9
Show file tree
Hide file tree
Showing 20 changed files with 38 additions and 20 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// @ts-nocheck
import React from 'react'
import { storiesOf, action } from '@storybook/react'
import { action } from '@storybook/addon-actions'
import { storiesOf } from '@storybook/react'
import { Button, ButtonToolbar, ButtonGroup,
DropdownButton, MenuItem, Table, Well } from 'react-bootstrap'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// @ts-nocheck
import React from 'react'
import {storiesOf, action} from '@storybook/react'
import { action } from '@storybook/addon-actions'
import { storiesOf } from '@storybook/react'
import {DropdownButton, MenuItem, Table, Label, Well} from 'react-bootstrap'

storiesOf('Dropdown', module)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// @ts-nocheck
import React from 'react'
import { storiesOf, action } from '@storybook/react'
import { action } from '@storybook/addon-actions'
import { storiesOf } from '@storybook/react'
import { Pagination, Well } from 'react-bootstrap'

storiesOf('Pagination', module)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// @ts-nocheck
import React from 'react'
import { storiesOf, action } from '@storybook/react'
import { storiesOf } from '@storybook/react'
import { Button } from 'react-bootstrap'
import { Icon, TextInput } from '../../components'
import RejectionsForm from '.'
Expand Down
3 changes: 2 additions & 1 deletion server/zanata-frontend/src/app/components/Tabs/Tabs.story.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// @ts-nocheck
import React from 'react'
import { storiesOf, action } from '@storybook/react'
import { action } from '@storybook/addon-actions'
import { storiesOf } from '@storybook/react'
import { Tabs, Tab, Row, Col, Nav, NavItem, Well } from 'react-bootstrap'

storiesOf('Tabs', module)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// @ts-nocheck
import React from 'react'
import { storiesOf, action } from '@storybook/react'
import { action } from '@storybook/addon-actions'
import { storiesOf } from '@storybook/react'
import { TextInput } from '../'
import { Well } from 'react-bootstrap'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
import React from 'react'
import { Component } from 'react'
import * as PropTypes from 'prop-types'
import { storiesOf, action } from '@storybook/react'
import { action } from '@storybook/addon-actions'
import { storiesOf } from '@storybook/react'
import RealTriCheckbox from '.'
import TriCheckboxGroup from './TriCheckboxGroup'
import { Table, Col, Well } from 'react-bootstrap'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// @ts-nocheck
import React from 'react'
import { storiesOf, action } from '@storybook/react'
import { action } from '@storybook/addon-actions'
import { storiesOf } from '@storybook/react'
import ActivitySelectList from '.'

/*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
// @ts-nocheck
import React from 'react'
import cx from 'classnames'
import { storiesOf, action } from '@storybook/react'
import { action } from '@storybook/addon-actions'
import { storiesOf } from '@storybook/react'
import { withInfo } from '@storybook/addon-info'
import { host } from 'storybook-host'
import { withKnobs, text, boolean, select } from '@storybook/addon-knobs'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// @ts-nocheck
import React from 'react'
import { storiesOf, action } from '@storybook/react'
import { action } from '@storybook/addon-actions'
import { storiesOf } from '@storybook/react'
import CommentBox from '.'

/*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// @ts-nocheck
import React from 'react'
import {storiesOf, action} from '@storybook/react'
import { action } from '@storybook/addon-actions'
import { storiesOf } from '@storybook/react'
import { Alert, Button, Image } from 'react-bootstrap'
import { Icon } from '../../../components'
import ConcurrentModal from '.'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import React from 'react'
import * as PropTypes from 'prop-types'
import { storiesOf, action } from '@storybook/react'
import { action } from '@storybook/addon-actions'
import { storiesOf } from '@storybook/react'
import { EditorSearchInput as RealEditorSearchInput } from '.'

// Simple wrapper component to handle text updates for the story
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// @ts-nocheck
import React from 'react'
import { storiesOf, action } from '@storybook/react'
import { action } from '@storybook/addon-actions'
import { storiesOf } from '@storybook/react'
import GlossaryTerm from '.'
import { Table } from 'react-bootstrap'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// @ts-nocheck
import React from 'react'
import { storiesOf, action } from '@storybook/react'
import { action } from '@storybook/addon-actions'
import { storiesOf } from '@storybook/react'
import LanguageSelectList from '.'

/*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// @ts-nocheck
import React from 'react'
import { storiesOf, action } from '@storybook/react'
import { storiesOf } from '@storybook/react'
import ProgressBar from '.'

const counts = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// @ts-nocheck
import React from 'react'
import { storiesOf, action } from '@storybook/react'
import { action } from '@storybook/addon-actions'
import { storiesOf } from '@storybook/react'
import SelectButton from '.'

/*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// @ts-nocheck
import React from 'react'
import { storiesOf, action } from '@storybook/react'
import { action } from '@storybook/addon-actions'
import { storiesOf } from '@storybook/react'
import SelectButtonList from '.'

const items = [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
// @ts-nocheck
import React from 'react'
import * as PropTypes from 'prop-types'
import { storiesOf, action } from '@storybook/react'
import { action } from '@storybook/addon-actions'
import { storiesOf } from '@storybook/react'
import RealSettingOption from '.'

class SettingOption extends React.Component {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
// @ts-nocheck
import React from 'react'
import * as PropTypes from 'prop-types'
import { storiesOf, action } from '@storybook/react'
import { action } from '@storybook/addon-actions'
import { storiesOf } from '@storybook/react'
import RealSettingsOptions from '.'

class SettingsOptions extends React.Component {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import React from 'react'
import { storiesOf, action } from '@storybook/react'
import { action } from '@storybook/addon-actions'
import { storiesOf } from '@storybook/react'
import COMPONENT_NAME_HERE from '.'

/*
Expand Down

0 comments on commit 5333bd9

Please sign in to comment.