From 79e6fda55af1b0c605cd8a0806863fd8689ed347 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 | 220 ++++++------------ 1 file changed, 75 insertions(+), 145 deletions(-) diff --git a/packages/orbit-components/src/Textarea/Textarea.stories.tsx b/packages/orbit-components/src/Textarea/Textarea.stories.tsx index e5a6def04f..72027c30ea 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,114 @@ import { SPACINGS_AFTER } from "../common/consts"; import Textarea from "."; -export default { +const meta: Meta = { title: "Textarea", -}; - -export const Default = ({ label, value, placeholder }) => { - return ( -