Type declaration
ContextlessEditor: FunctionComponent<{
allowSameOrigin?: boolean;
id?: string | number;
iframeId?: string;
lang?: string;
loading?: boolean;
onError?: ((error) => void);
onSubmit?: ((data, id?) => void);
state: EditorSettings;
}>
ContextlessPlayer: FunctionComponent<{
lang?: string;
loading?: boolean;
onXAPI?: ((event) => void);
state: H5PObject;
styles?: string[];
}>