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
btnClassName?: string
}) {
const { selected, onSelect, className } = props
const btnClassName = clsx('px-6', props.btnClassName)
return (
)
}
function Button(props: {
className?: string
onClick?: () => void
color: 'green' | 'red' | 'yellow' | 'gray'
children?: any
}) {
const { className, onClick, children, color } = props
return (
)
}