rename to subtitle

Signed-off-by: Johan Haals <johan.haals@gmail.com>
This commit is contained in:
Johan Haals
2023-09-21 11:04:44 +02:00
parent 2db1ea8f6b
commit d3ecb8aa3d
+2 -4
View File
@@ -35,7 +35,7 @@ export const TechRadarPage = createPageExtension({
configSchema: createSchemaFromZod(z =>
z.object({
title: z.string().default('Tech Radar'),
subTitle: z
subtitle: z
.string()
.default('Pick the recommended technologies for your projects'),
pageTitle: z.string().default('Company Radar'),
@@ -45,9 +45,7 @@ export const TechRadarPage = createPageExtension({
}),
),
loader: ({ config }) =>
import('./components').then(m => (
<m.RadarPage {...config} subtitle={config.subTitle} />
)),
import('./components').then(m => <m.RadarPage {...config} />),
});
const sampleTechRadarApi = createApiExtension({