import "./ToolIcon.scss"; import React from "react"; import clsx from "clsx"; type LockIconSize = "s" | "m"; type LockIconProps = { title?: string; name?: string; checked: boolean; onChange?(): void; zenModeEnabled?: boolean; }; const DEFAULT_SIZE: LockIconSize = "m"; const ICONS = { CHECKED: ( ), UNCHECKED: ( ), }; export const LockButton = (props: LockIconProps) => { return ( {props.checked ? ICONS.CHECKED : ICONS.UNCHECKED} ); };