@oberoncms/plugin-uploadthing
Version:
An Puck component and OberonCMS plugin for embeding uploadthing images
23 lines • 801 B
TypeScript
import type { OberonImage } from "@oberoncms/core";
export declare const Image: {
fields: {
image: {
type: "custom";
render: (props: {
field: import("@measured/puck").CustomField<OberonImage | null>;
name: string;
id: string;
value: OberonImage | null;
onChange: (value: OberonImage | null) => void;
readOnly?: boolean;
}) => import("react/jsx-runtime").JSX.Element;
};
};
defaultProps: {
image: null;
};
render: ({ image }: import("@measured/puck").WithId<import("@measured/puck").WithPuckProps<{
image: OberonImage | null;
}>>) => import("react/jsx-runtime").JSX.Element;
};
//# sourceMappingURL=client.d.ts.map