import { Close as CloseIcon } from '@air/icons'; import VisuallyHidden from '@reach/visually-hidden'; import { Box } from '../../Box'; import { IconButton } from '../../IconButton'; import { Text } from '../../Text'; export interface ActionSheetHeaderProps { isHidden?: boolean; onClose?: () => void; title: string; } export const ActionSheetHeader = ({ isHidden, onClose, title }: ActionSheetHeaderProps) => { if (isHidden) { return {title}; } return ( {title} Close action sheet ); };