Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
18 lines
875 B
Plaintext
18 lines
875 B
Plaintext
import type { CheckboxFieldClientProps, CheckboxFieldValidation } from 'payload';
|
|
import React from 'react';
|
|
import type { CheckboxInputProps } from './Input.js';
|
|
import { CheckboxInput } from './Input.js';
|
|
import './index.scss';
|
|
export { CheckboxFieldClientProps, CheckboxInput, type CheckboxInputProps };
|
|
export declare const CheckboxField: React.FC<{
|
|
readonly checked?: boolean;
|
|
readonly disableFormData?: boolean;
|
|
readonly id?: string;
|
|
readonly onChange?: (value: boolean) => void;
|
|
readonly partialChecked?: boolean;
|
|
readonly path: string;
|
|
readonly validate?: CheckboxFieldValidation;
|
|
} & {
|
|
readonly field: Omit<import("payload").CheckboxFieldClient, "type"> & Partial<Pick<import("payload").CheckboxFieldClient, "type">>;
|
|
} & Omit<import("payload").ClientComponentProps, "customComponents" | "field">>;
|
|
//# sourceMappingURL=index.d.ts.map |