strapi-plugin-oembed
Version:
Embed content from third-party sites in Strapi
16 lines (15 loc) • 473 B
TypeScript
import { type Oembed } from '@/shared/types/oembed';
export type InputCallback = (entry: Oembed | null) => void;
export type InputProps = {
name: string;
error: any;
label: any;
onChange: (event: {
target: {
name: string;
value: Oembed | null;
};
}) => void;
value: Oembed | null;
};
export default function Input({ error, name, label, onChange, value }: InputProps): import("react/jsx-runtime").JSX.Element;