Skip to content

Commit

Permalink
feat!: Tremor v4 \n\n BREAKING CHANGE
Browse files Browse the repository at this point in the history
BREAKING CHANGE: feat!: Tremor v4 \n\n BREAKING CHANGE
  • Loading branch information
severinlandolt committed Dec 12, 2024
1 parent a5a3439 commit 573835c
Showing 1 changed file with 0 additions and 34 deletions.
34 changes: 0 additions & 34 deletions src/stories/chart-elements/AreaChart.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -347,40 +347,6 @@ export const Padding: Story = {
},
};

// keep because of if statement
// const ResponsiveTemplate: ComponentStory<typeof AreaChart> = (args) => {
// if (args.onValueChange?.length === 0) {
// args.onValueChange = undefined;
// }

// return (
// <>
// <Title>Desktop</Title>
// <Card>
// <AreaChart {...args} yAxisWidth={60} />
// </Card>
// <Title className="mt-5">Mobile</Title>
// <div className="w-64">
// <Card>
// <AreaChart {...args} yAxisWidth={60} />
// </Card>
// </div>
// </>
// );
// };

// const DefaultTemplate: ComponentStory<typeof AreaChart> = ({ ...args }) => {
// if (args.onValueChange?.length === 0) {
// args.onValueChange = undefined;
// }

// return (
// <Card>
// <AreaChart {...args} yAxisWidth={60} />
// </Card>
// );
//

export const tickGap: Story = {
args: {
data: longBaseChartData,
Expand Down

0 comments on commit 573835c

Please sign in to comment.