@atlaskit/renderer
Version:
Renderer component
20 lines (19 loc) • 818 B
TypeScript
import React from 'react';
import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
import type { AnalyticsEventPayload } from '../analytics/events';
import type { RendererAppearance, RendererContentMode } from './Renderer/types';
export interface ExpandProps {
children: React.ReactNode;
fireAnalyticsEvent?: (event: AnalyticsEventPayload) => void;
loadBodyContent?: boolean;
localId?: string;
nestedHeaderIds?: Array<string>;
nodeType: 'expand' | 'nestedExpand';
rendererAppearance?: RendererAppearance;
rendererContentMode?: RendererContentMode;
title: string;
}
declare const _default_1: React.FC<WithIntlProps<ExpandProps & WrappedComponentProps>> & {
WrappedComponent: React.ComponentType<ExpandProps & WrappedComponentProps>;
};
export default _default_1;