import React from 'react'; import { usePrefix } from '../hooks'; import { Layout } from '../containers'; import cls from 'classnames'; export interface IStudioPanelProps { style?: React.CSSProperties; className?: string; logo?: React.ReactNode; actions?: React.ReactNode; prefixCls?: string; theme?: string; } const StudioPanelInternal: React.FC = ({ logo, actions, ...props }) => { const prefix = usePrefix('main-panel'); console.log(props); if (logo || actions) { return (
{logo}
{actions}
{props.children}
); } return (
{props.children}
); }; export const StudioPanel: React.FC = (props) => { return ( ); };