MCPcopy Index your code
hub / github.com/bernaferrari/FigmaToCode / CodePanelProps

Interface CodePanelProps

packages/plugin-ui/src/components/CodePanel.tsx:16–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14import { TailwindSettings } from "./TailwindSettings";
15
16interface CodePanelProps {
17 code: string;
18 selectedFramework: Framework;
19 settings: PluginSettings | null;
20 preferenceOptions: LocalCodegenPreferenceOptions[];
21 selectPreferenceOptions: SelectPreferenceOptions[];
22 onPreferenceChanged: (
23 key: keyof PluginSettings,
24 value: PluginSettings[keyof PluginSettings],
25 ) => void;
26}
27
28const CodePanel = (props: CodePanelProps) => {
29 const [syntaxHovered, setSyntaxHovered] = useState(false);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected