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 Button from './Button';
|
||||
import { GithubIcon, DropdownArrowIcon, PlusIcon } from './Icons';
|
||||
import { GithubIcon, DropdownArrowIcon, PlusIcon } from './icons';
|
||||
|
||||
export default {
|
||||
title: 'Common/Button',
|
||||
|
|
|
@ -1,17 +1,17 @@
|
|||
import React from 'react';
|
||||
import { select } from '@storybook/addon-knobs';
|
||||
|
||||
import * as Icons from './Icons';
|
||||
import * as icons from './icons';
|
||||
|
||||
export default {
|
||||
title: 'Common/Icons',
|
||||
component: Icons
|
||||
component: icons
|
||||
};
|
||||
|
||||
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 (
|
||||
<SelectedIcon />
|
||||
);
|
||||
|
|
|
@ -2,7 +2,7 @@ import PropTypes from 'prop-types';
|
|||
import React from 'react';
|
||||
|
||||
import Button from '../../../common/Button';
|
||||
import { PlusIcon } from '../../../common/Icons';
|
||||
import { PlusIcon } from '../../../common/icons';
|
||||
import CopyableInput from '../../IDE/components/CopyableInput';
|
||||
|
||||
import APIKeyList from './APIKeyList';
|
||||
|
|
|
@ -8,7 +8,7 @@ import { bindActionCreators } from 'redux';
|
|||
import classNames from 'classnames';
|
||||
|
||||
import Button from '../../../common/Button';
|
||||
import { DropdownArrowIcon } from '../../../common/Icons';
|
||||
import { DropdownArrowIcon } from '../../../common/icons';
|
||||
import * as ProjectActions from '../../IDE/actions/project';
|
||||
import * as ProjectsActions from '../../IDE/actions/projects';
|
||||
import * as CollectionsActions from '../../IDE/actions/collections';
|
||||
|
|
|
@ -4,7 +4,7 @@ import styled from 'styled-components';
|
|||
|
||||
import { remSize } from '../../../theme';
|
||||
|
||||
import { GithubIcon, GoogleIcon } from '../../../common/Icons';
|
||||
import { GithubIcon, GoogleIcon } from '../../../common/icons';
|
||||
import Button from '../../../common/Button';
|
||||
|
||||
const authUrls = {
|
||||
|
|
Loading…
Reference in a new issue