Skip to content

Commit

Permalink
fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchuman committed Dec 5, 2024
1 parent db890b1 commit 3ef1a22
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/sanity/schemas/fragments/fields/alignment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export const alignmentFieldset: FieldsetDefinition = {
options: { columns: 2 },
}

export const textAlign: FieldDefinition = {
export const textAlign = {
name: 'textAlign',
type: 'string',
options: {
Expand All @@ -15,9 +15,9 @@ export const textAlign: FieldDefinition = {
},
initialValue: 'center',
group: 'options',
}
} satisfies FieldDefinition

export const alignItems: FieldDefinition = {
export const alignItems = {
name: 'alignItems',
title: 'Vertical alignment',
type: 'string',
Expand All @@ -31,4 +31,4 @@ export const alignItems: FieldDefinition = {
},
initialValue: 'center',
group: 'options',
}
} satisfies FieldDefinition

0 comments on commit 3ef1a22

Please sign in to comment.