Change commmon/Icons to common/icons
This commit is contained in:
parent
161ac5b3eb
commit
7dabbc531c
5 changed files with 8 additions and 8 deletions
|
@ -3,7 +3,7 @@ import { action } from '@storybook/addon-actions';
|
||||||
import { boolean, text } from '@storybook/addon-knobs';
|
import { boolean, text } from '@storybook/addon-knobs';
|
||||||
|
|
||||||
import Button from './Button';
|
import Button from './Button';
|
||||||
import { GithubIcon, DropdownArrowIcon, PlusIcon } from './Icons';
|
import { GithubIcon, DropdownArrowIcon, PlusIcon } from './icons';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
title: 'Common/Button',
|
title: 'Common/Button',
|
||||||
|
|
|
@ -1,17 +1,17 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { select } from '@storybook/addon-knobs';
|
import { select } from '@storybook/addon-knobs';
|
||||||
|
|
||||||
import * as Icons from './Icons';
|
import * as icons from './icons';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
title: 'Common/Icons',
|
title: 'Common/Icons',
|
||||||
component: Icons
|
component: icons
|
||||||
};
|
};
|
||||||
|
|
||||||
export const AllIcons = () => {
|
export const AllIcons = () => {
|
||||||
const names = Object.keys(Icons);
|
const names = Object.keys(icons);
|
||||||
|
|
||||||
const SelectedIcon = Icons[select('name', names, names[0])];
|
const SelectedIcon = icons[select('name', names, names[0])];
|
||||||
return (
|
return (
|
||||||
<SelectedIcon />
|
<SelectedIcon />
|
||||||
);
|
);
|
||||||
|
|
|
@ -2,7 +2,7 @@ import PropTypes from 'prop-types';
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import Button from '../../../common/Button';
|
import Button from '../../../common/Button';
|
||||||
import { PlusIcon } from '../../../common/Icons';
|
import { PlusIcon } from '../../../common/icons';
|
||||||
import CopyableInput from '../../IDE/components/CopyableInput';
|
import CopyableInput from '../../IDE/components/CopyableInput';
|
||||||
|
|
||||||
import APIKeyList from './APIKeyList';
|
import APIKeyList from './APIKeyList';
|
||||||
|
|
|
@ -8,7 +8,7 @@ import { bindActionCreators } from 'redux';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
|
|
||||||
import Button from '../../../common/Button';
|
import Button from '../../../common/Button';
|
||||||
import { DropdownArrowIcon } from '../../../common/Icons';
|
import { DropdownArrowIcon } from '../../../common/icons';
|
||||||
import * as ProjectActions from '../../IDE/actions/project';
|
import * as ProjectActions from '../../IDE/actions/project';
|
||||||
import * as ProjectsActions from '../../IDE/actions/projects';
|
import * as ProjectsActions from '../../IDE/actions/projects';
|
||||||
import * as CollectionsActions from '../../IDE/actions/collections';
|
import * as CollectionsActions from '../../IDE/actions/collections';
|
||||||
|
|
|
@ -4,7 +4,7 @@ import styled from 'styled-components';
|
||||||
|
|
||||||
import { remSize } from '../../../theme';
|
import { remSize } from '../../../theme';
|
||||||
|
|
||||||
import { GithubIcon, GoogleIcon } from '../../../common/Icons';
|
import { GithubIcon, GoogleIcon } from '../../../common/icons';
|
||||||
import Button from '../../../common/Button';
|
import Button from '../../../common/Button';
|
||||||
|
|
||||||
const authUrls = {
|
const authUrls = {
|
||||||
|
|
Loading…
Reference in a new issue