From 377a7e57dc522cb05e9a8339253d168a1ef5890b Mon Sep 17 00:00:00 2001 From: Ryan Lynch Date: Wed, 26 Jun 2024 14:39:30 +0100 Subject: [PATCH] Cleanup files. --- src/components/TermInput/TermInput.tsx | 2 +- .../InterestRate/InterestRate.stories.ts | 42 +++++++++---------- 2 files changed, 21 insertions(+), 23 deletions(-) diff --git a/src/components/TermInput/TermInput.tsx b/src/components/TermInput/TermInput.tsx index 67050c5..9971b02 100644 --- a/src/components/TermInput/TermInput.tsx +++ b/src/components/TermInput/TermInput.tsx @@ -1,4 +1,4 @@ -import { ITextFieldStyles, Slider, TextField } from "@fluentui/react"; +import { ITextFieldStyles, TextField } from "@fluentui/react"; export interface TermInputProps { term: number; diff --git a/src/stories/components/InterestRate/InterestRate.stories.ts b/src/stories/components/InterestRate/InterestRate.stories.ts index 3e36178..f56f422 100644 --- a/src/stories/components/InterestRate/InterestRate.stories.ts +++ b/src/stories/components/InterestRate/InterestRate.stories.ts @@ -1,25 +1,23 @@ -import type { Meta, StoryObj } from "@storybook/react"; -import { - InterestRate, - InterestRateProps, -} from "../../../components/InterestRate/InterestRate"; +// import type { Meta, StoryObj } from "@storybook/react"; +// import { InterestRateProps, InterestRate } from "../../../components/InterestRate/InterestRate"; -const meta: Meta = { - component: InterestRate, -}; -export default meta; -type Story = StoryObj; +// const meta: Meta = { +// component: InterestRate, +// }; -export const DefaultInterestRate: Story = { - args: { - interestRate: 4.0, - setInterestRate: (newValue: number) => { - console.log(newValue); - }, - useGlobalInterestRate: true, - setUseGlobalInterestRate: (newValue: boolean) => { - console.log(newValue); - }, - }, -}; \ No newline at end of file +// export default meta; +// type Story = StoryObj; + +// export const DefaultInterestRate: Story = { +// args: { +// interestRate: 4.0, +// setInterestRate: (newValue: number) => { +// console.log(newValue); +// }, +// useGlobalInterestRate: true, +// setUseGlobalInterestRate: (newValue: boolean) => { +// console.log(newValue); +// }, +// }, +// }; \ No newline at end of file