Skip to content

Commit

Permalink
Merge pull request #15 from UniqueClone/main
Browse files Browse the repository at this point in the history
Cleanup files.
  • Loading branch information
UniqueClone authored Jun 26, 2024
2 parents 3f48b4b + 377a7e5 commit 5a7f858
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 23 deletions.
2 changes: 1 addition & 1 deletion src/components/TermInput/TermInput.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ITextFieldStyles, Slider, TextField } from "@fluentui/react";
import { ITextFieldStyles, TextField } from "@fluentui/react";

export interface TermInputProps {
term: number;
Expand Down
42 changes: 20 additions & 22 deletions src/stories/components/InterestRate/InterestRate.stories.ts
Original file line number Diff line number Diff line change
@@ -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<InterestRateProps> = {
component: InterestRate,
};

export default meta;
type Story = StoryObj<InterestRateProps>;
// const meta: Meta<InterestRateProps> = {
// component: InterestRate,
// };

export const DefaultInterestRate: Story = {
args: {
interestRate: 4.0,
setInterestRate: (newValue: number) => {
console.log(newValue);
},
useGlobalInterestRate: true,
setUseGlobalInterestRate: (newValue: boolean) => {
console.log(newValue);
},
},
};
// export default meta;
// type Story = StoryObj<InterestRateProps>;

// export const DefaultInterestRate: Story = {
// args: {
// interestRate: 4.0,
// setInterestRate: (newValue: number) => {
// console.log(newValue);
// },
// useGlobalInterestRate: true,
// setUseGlobalInterestRate: (newValue: boolean) => {
// console.log(newValue);
// },
// },
// };

0 comments on commit 5a7f858

Please sign in to comment.