From b3974e5f6c29b66f679e39b43883cf09b027505c Mon Sep 17 00:00:00 2001 From: Stephanie Yang Date: Sat, 10 Aug 2024 19:33:54 -0500 Subject: [PATCH 1/2] fix textarea input ref --- src/form/Textarea/Textarea.story.tsx | 14 +++++++++++++- src/form/Textarea/Textarea.tsx | 18 ++++++++++++------ 2 files changed, 25 insertions(+), 7 deletions(-) diff --git a/src/form/Textarea/Textarea.story.tsx b/src/form/Textarea/Textarea.story.tsx index 8c3c39ef..0e7fa96a 100644 --- a/src/form/Textarea/Textarea.story.tsx +++ b/src/form/Textarea/Textarea.story.tsx @@ -1,6 +1,7 @@ -import React from 'react'; +import { useRef } from 'react'; import { Stack } from '../../layout/Stack'; import { Textarea } from './Textarea'; +import { Button } from '@/elements'; export default { title: 'Components/Form/Textarea', @@ -32,3 +33,14 @@ export const Sizes = () => (