UNPKG

bananas-commerce-admin

Version:

What's this, an admin for apes?

14 lines (13 loc) 516 B
import React from "react"; import { CardFieldBaseProps } from "./shared"; export interface CardFieldCheckboxProps extends React.PropsWithChildren<Omit<CardFieldBaseProps, "fallback" | "fallbackPredicate">> { isEditable?: boolean; noValue?: React.ReactNode; type: "checkbox"; value: boolean; yesValue?: React.ReactNode; fallback?: never; fallbackPredicate?: never; } export declare const CardFieldCheckbox: React.FC<Omit<CardFieldCheckboxProps, "type">>; export default CardFieldCheckbox;