import React from "react";
import { Checkbox as BaseCheckbox } from "baseui/checkbox";

export interface CheckboxProps {
  children: React.ReactNode;
  checked?: boolean;
  onChange?: (event: any) => void;
  isIndeterminate?: boolean;
  name?: string;
}

/**
 * This is the `<Checkbox>` component <br />
 * Use this for primary interactions in your app
 */
const Checkbox: React.FC<CheckboxProps> = (props) => {
  return <BaseCheckbox {...props} />;
};

export default Checkbox;
