mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-08 04:50:12 +02:00
Add JSON preview for smart playlist query
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
interface JsonPreviewProps {
|
||||
value: string | Record<string, any>;
|
||||
}
|
||||
|
||||
export const JsonPreview = ({ value }: JsonPreviewProps) => {
|
||||
return <pre style={{ userSelect: 'all' }}>{JSON.stringify(value, null, 2)}</pre>;
|
||||
};
|
||||
Reference in New Issue
Block a user