import React from "react";
import { Widget } from "./BaseWidget";
import type { CheckboxInputProps as CoreCheckboxInputProps } from "../widgets/checkbox-input";

export interface CheckboxInputProps extends CoreCheckboxInputProps {
  className?: string;
}

export function CheckboxInput({ className, ...props }: CheckboxInputProps) {
  return <Widget widgetId="checkbox-input" config={props} className={className} />;
}
