({ noInline = false, code }: Props)
| 7 | }; |
| 8 | |
| 9 | export const DemoLiveEditor = ({ noInline = false, code }: Props) => { |
| 10 | return ( |
| 11 | <LiveProvider code={code} noInline={noInline}> |
| 12 | <div className="grid lg:grid-cols-2 gap-4 mb-6"> |
| 13 | <LiveEditor className="font-mono" /> |
| 14 | <LivePreview /> |
| 15 | </div> |
| 16 | <LiveError className="text-red-800 bg-red-100 mt-2" /> |
| 17 | </LiveProvider> |
| 18 | ); |
| 19 | }; |
nothing calls this directly
no outgoing calls
no test coverage detected