diff --git a/libs/remix-ui/checkbox/src/lib/remix-ui-checkbox.tsx b/libs/remix-ui/checkbox/src/lib/remix-ui-checkbox.tsx index 5535a05971..87161908f9 100644 --- a/libs/remix-ui/checkbox/src/lib/remix-ui-checkbox.tsx +++ b/libs/remix-ui/checkbox/src/lib/remix-ui-checkbox.tsx @@ -12,6 +12,7 @@ export interface RemixUiCheckboxProps { id?: string itemName?: string categoryId?: string + visibility?: string } export const RemixUiCheckbox = ({ @@ -23,10 +24,11 @@ export const RemixUiCheckbox = ({ checked, onChange, itemName, - categoryId + categoryId, + visibility }: RemixUiCheckboxProps) => { return ( -
+
{ } const [autoRun, setAutoRun] = useState(true) const [slitherEnabled, setSlitherEnabled] = useState(false) + const [showSlither, setShowSlither] = useState('hidden') const [categoryIndex, setCategoryIndex] = useState(groupedModuleIndex(groupedModules)) const warningContainer = React.useRef(null) @@ -341,6 +342,7 @@ export const RemixUiStaticAnalyser = (props: RemixUiStaticAnalyserProps) => { checked={slitherEnabled} label="Enable Slither Analysis" onChange={() => {}} + visibility = {showSlither} />