UNPKG

bananas-commerce-admin

Version:

What's this, an admin for apes?

16 lines (15 loc) 523 B
import React from "react"; import { CardFieldBaseProps } from "./shared"; export interface CardFieldSwitchProps extends Omit<CardFieldBaseProps, "fallback" | "fallbackPredicate">, React.PropsWithChildren { fallback?: never; fallbackPredicate?: never; isEditable?: boolean; off?: string; offValue?: string; on?: string; onValue?: string; type: "switch"; value: boolean; } export declare const CardFieldSwitch: React.FC<Omit<CardFieldSwitchProps, "type">>; export default CardFieldSwitch;