@sanity/desk-tool
Version:
Tool for managing all sorts of content in a structured manner
16 lines • 507 B
TypeScript
import React from 'react';
export interface IntentResolverProps {
intent: string;
params: {
type: string;
id: string;
[key: string]: string | undefined;
};
payload: unknown;
}
/**
* A component that receives an intent from props and redirects to the resolved
* intent location (while showing a loading spinner during the process)
*/
export declare function IntentResolver(props: IntentResolverProps): React.JSX.Element;
//# sourceMappingURL=IntentResolver.d.ts.map