// Copyright (c) Meta Platforms, Inc. and affiliates. 'use client'; import {useState} from 'react'; import {DateInput} from '@astryxdesign/core/DateInput'; import {Stack} from '@astryxdesign/core/Layout'; import {Text} from '@astryxdesign/core/Text'; type DateString = `${number}${number}${number}${number}-${number}${number}-${number}${number}`; export default function DateInputWithDescription() { const [value, setValue] = useState(undefined); return ( Helper text explains what the field expects ); }