@sanity/desk-tool
Version:
Tool for managing all sorts of content in a structured manner
19 lines • 579 B
TypeScript
import React from 'react';
import { SchemaType } from '@sanity/types';
import { PreviewValue } from '../../types';
interface PaneItemProps {
id: string;
layout?: 'inline' | 'block' | 'default' | 'card' | 'media' | 'detail';
icon?: React.ComponentType<any> | false;
pressed?: boolean;
selected?: boolean;
title?: string;
value?: PreviewValue | {
_id: string;
_type: string;
};
schemaType?: SchemaType;
}
export declare function PaneItem(props: PaneItemProps): React.JSX.Element;
export {};
//# sourceMappingURL=PaneItem.d.ts.map