changed control from radio to checkbox
This commit is contained in:
@@ -31,7 +31,7 @@ export const MonthCard:FC<MonthCardProps> = ({ yearMonth, children, monthlyExpen
|
|||||||
|
|
||||||
return(
|
return(
|
||||||
<div className="collapse collapse-plus bg-base-200 my-1" ref={elRef}>
|
<div className="collapse collapse-plus bg-base-200 my-1" ref={elRef}>
|
||||||
<input type="radio" name="my-accordion-3" checked={expanded} onChange={handleChange} />
|
<input type="checkbox" name="my-accordion-3" checked={expanded} onChange={handleChange} />
|
||||||
<div className="collapse-title text-xl font-medium">
|
<div className="collapse-title text-xl font-medium">
|
||||||
{`${formatYearMonth(yearMonth)}`}
|
{`${formatYearMonth(yearMonth)}`}
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user