Skip to content

Commit 98a3397

Browse files
committed
fix(content): set icon input for Studio edition
1 parent 2c3fdff commit 98a3397

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const createBaseSchema = () => z.object({
1010
const createLinkSchema = () => z.object({
1111
label: z.string().nonempty(),
1212
to: z.string().nonempty(),
13-
icon: z.string().optional(),
13+
icon: z.string().optional().editor({ input: 'icon' }),
1414
size: createEnum(['xs', 'sm', 'md', 'lg', 'xl']),
1515
trailing: z.boolean().optional(),
1616
target: createEnum(['_blank', '_self']),

0 commit comments

Comments
 (0)