@atlaskit/renderer
Version:
Renderer component
24 lines (23 loc) • 695 B
TypeScript
/**
* @jsxRuntime classic
* @jsx jsx
*/
/**
* Emotion branch of the `platform_editor_static_css` experiment.
* Used via `componentWithCondition` in `panel.tsx`.
*
* Cleanup: delete this file once the experiment has shipped.
*/
import React from 'react';
import { jsx } from '@emotion/react';
import { PanelType } from '@atlaskit/adf-schema';
interface PanelStyledProps {
backgroundColor?: string;
'data-panel-type': PanelType;
hasIcon?: boolean;
}
export declare const PanelStyledEmotion: {
({ backgroundColor, hasIcon, ...props }: React.PropsWithChildren<PanelStyledProps & React.HTMLAttributes<HTMLDivElement>>): jsx.JSX.Element;
displayName: string;
};
export {};