From c85445731b1bd889dbec9637b4e30573746e13ab Mon Sep 17 00:00:00 2001 From: Sarka Chwastkova Date: Thu, 26 Sep 2024 15:56:30 +0200 Subject: [PATCH] chore(Textarea): migrate from CSF2 to CSF3 --- .../src/Textarea/Textarea.stories.tsx | 226 +++++++----------- 1 file changed, 80 insertions(+), 146 deletions(-) diff --git a/packages/orbit-components/src/Textarea/Textarea.stories.tsx b/packages/orbit-components/src/Textarea/Textarea.stories.tsx index e5a6def04f..d1b67c6d78 100644 --- a/packages/orbit-components/src/Textarea/Textarea.stories.tsx +++ b/packages/orbit-components/src/Textarea/Textarea.stories.tsx @@ -1,4 +1,5 @@ import * as React from "react"; +import type { Meta, StoryObj } from "@storybook/react"; import { action } from "@storybook/addon-actions"; import { RESIZE_OPTIONS } from "./consts"; @@ -7,185 +8,118 @@ import { SPACINGS_AFTER } from "../common/consts"; import Textarea from "."; -export default { +const meta: Meta = { title: "Textarea", -}; - -export const Default = ({ label, value, placeholder }) => { - return ( -