@shopify/app-bridge-core
Version:
**[Join our team and work on libraries like this one.](https://www.shopify.ca/careers)**
14 lines (13 loc) • 602 B
TypeScript
import type { MetaAction } from '../../actions/types';
import { Action } from '../../actions/Button';
import { Indexable, ValidationError } from '../type-validate';
export declare const buttonSchema: import("../type-validate").Validator;
export declare const buttonSchemaWithId: import("../type-validate").Validator;
export declare function validateProps(props: Indexable): {
path: string | undefined;
error: string;
message?: string | undefined;
value: any;
}[] | undefined;
export declare function validateAction(action: MetaAction): ValidationError[] | undefined;
export { Action };