// Copyright (c) Meta Platforms, Inc. and affiliates. 'use client'; import {useState} from 'react'; import { Dialog, DialogHeader, useImperativeDialog, } from '@astryxdesign/core/Dialog'; import { Layout, LayoutContent, LayoutFooter, HStack, VStack, } from '@astryxdesign/core/Layout'; import {Button} from '@astryxdesign/core/Button'; import {TextInput} from '@astryxdesign/core/TextInput'; import {TextArea} from '@astryxdesign/core/TextArea'; function Content({onClose}: {onClose: () => void}) { const [name, setName] = useState('Ruby Cheung'); const [bio, setBio] = useState('Design systems engineer'); return ( onClose()} /> } content={