// Copyright (c) Meta Platforms, Inc. and affiliates. 'use client'; import {useState} from 'react'; import { BottomSheet, type BottomSheetHeight, } from '@astryxdesign/core/BottomSheet'; import {Button} from '@astryxdesign/core/Button'; import {Divider} from '@astryxdesign/core/Divider'; import {Heading} from '@astryxdesign/core/Heading'; import {HStack, VStack} from '@astryxdesign/core/Stack'; import {Text} from '@astryxdesign/core/Text'; const descriptions: Record = { hug: 'Hug fits short, bounded content.', capped: 'Capped starts at a comfortable mid-height for lists and filters.', tall: 'Tall reserves most of the viewport for long or changing content.', }; export default function BottomSheetHeights() { const [height, setHeight] = useState(null); return ( <>