import { useCutsceneStore } from '../../store/cutsceneStore'; import { useShallow } from 'zustand/react/shallow'; import CutsceneProperties from './CutsceneProperties'; import LayerProperties from './LayerProperties'; import SubtitleLines from './SubtitleLines'; import styles from './RightPanel.module.css'; export default function RightPanel() { const { selectedLayerIndex, selectLayer } = useCutsceneStore(useShallow(s => ({ selectedLayerIndex: s.selectedLayerIndex, selectLayer: s.selectLayer, }))); return (
{/* Tab strip */}
{selectedLayerIndex !== null && ( )}
{selectedLayerIndex !== null ? ( ) : ( )}
); }