bananas-commerce-admin
Version:
What's this, an admin for apes?
16 lines (15 loc) • 523 B
TypeScript
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;