| 14 | import { TailwindSettings } from "./TailwindSettings"; |
| 15 | |
| 16 | interface 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 | |
| 28 | const CodePanel = (props: CodePanelProps) => { |
| 29 | const [syntaxHovered, setSyntaxHovered] = useState(false); |
nothing calls this directly
no outgoing calls
no test coverage detected