import React from 'react'; import { PanelModel } from 'app/features/dashboard/state'; import { AddLibraryPanelContents } from 'app/features/library-panels/components/AddLibraryPanelModal/AddLibraryPanelModal'; interface Props { onDismiss?: () => void; panel?: PanelModel; initialFolderId?: number; } export const ShareLibraryPanel = ({ panel, initialFolderId, onDismiss }: Props) => { if (!panel) { return null; } return ( <>
Create library panel.