bananas-commerce-admin
Version:
What's this, an admin for apes?
13 lines (12 loc) • 605 B
TypeScript
import React from "react";
import { type SelectProps } from "@mui/material/Select";
import { CardFieldBaseProps, FormOption } from "./shared";
export interface CardFieldSelectProps extends React.PropsWithChildren, Omit<SelectProps, "size" | "value" | "label">, CardFieldBaseProps {
type: "select";
/** A custom fallback empty state when you want to emulate a non-nullish default state. */
emptyValue?: FormOption;
value: FormOption | undefined;
isEditable?: boolean;
}
export declare const CardFieldSelect: React.FC<Omit<CardFieldSelectProps, "type">>;
export default CardFieldSelect;