From 62ae30182b92c6c11c7d64a10e6d7b9490dcd9df Mon Sep 17 00:00:00 2001 From: Coteh <3276350+Coteh@users.noreply.github.com> Date: Thu, 27 Aug 2020 18:27:39 -0400 Subject: [PATCH 1/3] Add Spinner story --- .../ui/{Spinner.scss => Spinner.module.scss} | 0 frontend/src/component/ui/Spinner.tsx | 20 +++++++++---------- story/src/2-Spinner.stories.tsx | 11 ++++++++++ 3 files changed, 21 insertions(+), 10 deletions(-) rename frontend/src/component/ui/{Spinner.scss => Spinner.module.scss} (100%) create mode 100644 story/src/2-Spinner.stories.tsx diff --git a/frontend/src/component/ui/Spinner.scss b/frontend/src/component/ui/Spinner.module.scss similarity index 100% rename from frontend/src/component/ui/Spinner.scss rename to frontend/src/component/ui/Spinner.module.scss diff --git a/frontend/src/component/ui/Spinner.tsx b/frontend/src/component/ui/Spinner.tsx index 0f0372129..e235cb2b6 100644 --- a/frontend/src/component/ui/Spinner.tsx +++ b/frontend/src/component/ui/Spinner.tsx @@ -1,19 +1,19 @@ import React, { Component } from 'react'; -import './Spinner.scss'; +import styles from './Spinner.module.scss'; export class Spinner extends Component { render() { return ( -