From 7dabbc531c825310e58fa807ce596b857c3d7688 Mon Sep 17 00:00:00 2001 From: Cassie Tarakajian Date: Tue, 26 May 2020 16:17:24 -0400 Subject: [PATCH] Change commmon/Icons to common/icons --- client/common/Button.stories.jsx | 2 +- client/common/Icons.stories.jsx | 8 ++++---- client/modules/User/components/APIKeyForm.jsx | 2 +- client/modules/User/components/Collection.jsx | 2 +- client/modules/User/components/SocialAuthButton.jsx | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/client/common/Button.stories.jsx b/client/common/Button.stories.jsx index 745ccdcf..bf1a02c8 100644 --- a/client/common/Button.stories.jsx +++ b/client/common/Button.stories.jsx @@ -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', diff --git a/client/common/Icons.stories.jsx b/client/common/Icons.stories.jsx index 023ebdd3..3c3307ab 100644 --- a/client/common/Icons.stories.jsx +++ b/client/common/Icons.stories.jsx @@ -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 ( ); diff --git a/client/modules/User/components/APIKeyForm.jsx b/client/modules/User/components/APIKeyForm.jsx index c7a9da36..cb99dcde 100644 --- a/client/modules/User/components/APIKeyForm.jsx +++ b/client/modules/User/components/APIKeyForm.jsx @@ -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'; diff --git a/client/modules/User/components/Collection.jsx b/client/modules/User/components/Collection.jsx index 3f3949d7..be39c4ed 100644 --- a/client/modules/User/components/Collection.jsx +++ b/client/modules/User/components/Collection.jsx @@ -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'; diff --git a/client/modules/User/components/SocialAuthButton.jsx b/client/modules/User/components/SocialAuthButton.jsx index 59c545a6..afcb605d 100644 --- a/client/modules/User/components/SocialAuthButton.jsx +++ b/client/modules/User/components/SocialAuthButton.jsx @@ -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 = {