import React from "react" import Checkbox from "../components/atoms/checkbox" import Table from "../components/molecules/table" const IndeterminateCheckbox = React.forwardRef( ({ indeterminate, ...rest }, ref) => { const defaultRef = React.useRef() const resolvedRef = ref || defaultRef React.useEffect(() => { resolvedRef.current.indeterminate = indeterminate }, [resolvedRef, indeterminate]) return (
e.stopPropagation()}>
) } ) export const useSelectionColumn = () => { return { id: "selection", Header: ({ getToggleAllRowsSelectedProps }) => ( ), Cell: ({ row }) => ( ), } }