MCPcopy Create free account
hub / github.com/dailydotdev/apps / FilterCheckbox

Function FilterCheckbox

packages/shared/src/components/fields/FilterCheckbox.tsx:12–35  ·  view source on GitHub ↗
({
  description,
  children,
  descriptionClassName,
  ...props
}: FilterCheckboxProps)

Source from the content-addressed store, hash-verified

10}
11
12export function FilterCheckbox({
13 description,
14 children,
15 descriptionClassName,
16 ...props
17}: FilterCheckboxProps): ReactElement {
18 return (
19 <Checkbox {...props} className="!items-start !typo-callout">
20 <div className="flex flex-col">
21 <span className="mb-2">{children}</span>
22 {!!description && (
23 <span
24 className={classNames(
25 'font-normal text-text-secondary',
26 descriptionClassName,
27 )}
28 >
29 {description}
30 </span>
31 )}
32 </div>
33 </Checkbox>
34 );
35}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected