import {Button} from '@/components/ui/button'

// the ghost cancel affordance shared by form headers and composer sheets
export const CancelButton = ({onPress}: {onPress: () => void}) => (
  <Button
    label="Cancel"
    variant="ghost"
    color="primary"
    size="small"
    onPress={onPress}
  />
)
