Skip to content

🎥 Make videos programmatically with React

269 B
Raw Blame
import {createRef} from 'react';

export const optionsSidebarTabs = createRef<{
	selectInspectorPanel: () => void;
	selectRendersPanel: () => void;
}>();

export const selectOptionsSidebarInspectorPanel = () => {
	optionsSidebarTabs.current?.selectInspectorPanel();
};