Skip to content

Commit

Permalink
fix: heading
Browse files Browse the repository at this point in the history
make content optinoal
  • Loading branch information
seaerchin committed Jul 23, 2024
1 parent 7edaae0 commit 6166685
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/components/src/interfaces/native/Heading.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const HeadingSchema = Type.Object(
},
),
}),
content: Type.Array(TextSchema),
content: Type.Optional(Type.Array(TextSchema)),
},
{
$id: "components-native-heading",
Expand Down

0 comments on commit 6166685

Please sign in to comment.