@finos/legend-application-marketplace
Version:
Legend Marketplace application core
23 lines • 1.5 kB
JavaScript
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
/**
* Copyright (c) 2020-present, Goldman Sachs
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { SparkleIcon } from '@finos/legend-art';
export const DataProductWikiPlaceholder = (props) => (_jsx("div", { className: "data-space__viewer__wiki__placeholder", children: props.message }));
export const DataProductPlaceholderPanel = (props) => {
const { header, message } = props;
return (_jsxs("div", { className: "data-space__viewer__panel", children: [_jsx("div", { className: "data-space__viewer__panel__header", children: _jsx("div", { className: "data-space__viewer__panel__header__label", children: header }) }), _jsx("div", { className: "data-space__viewer__panel__content", children: _jsxs("div", { className: "data-space__viewer__panel__content__placeholder", children: [_jsx(SparkleIcon, {}), " This is work in progress.", ` ${message}`] }) })] }));
};
//# sourceMappingURL=DataProductHolder.js.map