import clsx from 'clsx'
import React from 'react'
import { Row } from './layout/row'
export function YesNoSelector(props: {
selected: 'YES' | 'NO'
onSelect: (selected: 'YES' | 'NO') => void
className?: string
}) {
const { selected, onSelect, className } = props
return (
)
}
export function YesNoCancelSelector(props: {
selected: 'YES' | 'NO' | 'CANCEL' | undefined
onSelect: (selected: 'YES' | 'NO' | 'CANCEL') => void
className?: string
}) {
const { selected, onSelect, className } = props
return (
)
}
function Button(props: {
className?: string
onClick?: () => void
color: 'green' | 'red' | 'yellow' | 'gray'
children?: any
}) {
const { className, onClick, children, color } = props
return (
)
}