From 24eead10f862b9141a428a3de1b45418e6e26c2f Mon Sep 17 00:00:00 2001 From: Atul Varma Date: Sun, 4 Apr 2021 08:46:09 -0400 Subject: [PATCH] Disable 'invert every other symbol' if needed. --- lib/checkbox.tsx | 5 ++++- lib/mandala-circle.tsx | 6 +----- lib/pages/mandala-page.tsx | 3 ++- lib/util.ts | 5 +++++ 4 files changed, 12 insertions(+), 7 deletions(-) diff --git a/lib/checkbox.tsx b/lib/checkbox.tsx index c43da36..7e20f40 100644 --- a/lib/checkbox.tsx +++ b/lib/checkbox.tsx @@ -1,17 +1,20 @@ +import classNames from "classnames"; import React from "react"; type CheckboxProps = { label: string; onChange: (value: boolean) => void; value: boolean; + disabled?: boolean; }; export const Checkbox: React.FC = (props) => { return ( -