Skip to content

Commit

Permalink
Use textarea for now
Browse files Browse the repository at this point in the history
  • Loading branch information
nishasy committed Sep 6, 2024
1 parent 3e8002f commit db5e7c4
Showing 1 changed file with 16 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,24 @@ export default function InteractiveGraphDescription(props: Props) {
/>
</LabelLarge>
<Strut size={spacing.xSmall_8} />
<LabelLarge tag="label">
<LabelLarge
tag="label"
// TODO(LEMS-2332): Remove this style prop after
// switching to WB TextArea
style={{
display: "flex",
flexDirection: "column",
}}
>
Description
{/* TODO: Change this to a WB TextArea */}
<TextField
{/* TODO(LEMS-2332): Change this to a WB TextArea */}
<textarea
rows={8}
value={ariaDescriptionValue}
onChange={(newValue) =>
onChange({fullGraphAriaDescription: newValue})
onChange={(e) =>
onChange({
fullGraphAriaDescription: e.target.value,
})
}
/>
</LabelLarge>
Expand Down

0 comments on commit db5e7c4

Please sign in to comment.