import Area from '@components/common/Area.js'; import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '@components/common/ui/Card.js'; import React from 'react'; interface SettingProps { type: { code: string; name: string; }; } export default function Setting({ type }: SettingProps) { const areaId = `widget_setting_form`; return ( Widget Settings Configure the settings for the {type.name} widget. ); } export const layout = { areaId: 'leftSide', sortOrder: 30 }; export const query = ` query Query { type: widgetType(code: getContextValue('type', null)) { code name } } `;