Skip to content

Commit

Permalink
fix: class
Browse files Browse the repository at this point in the history
add nullable
  • Loading branch information
seaerchin committed Jul 24, 2024
1 parent dc964b1 commit 7bdf5d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/components/src/interfaces/native/Text.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const LinkMarkSchema = Type.Unsafe<{
// defaults to `null` href but href could also be passed as `undefined`
href: Type.Union([Type.String(), Type.Null()]),
rel: Type.String(),
class: Type.String(),
class: Type.Union([Type.String(), Type.Null()]),
}),
},
{
Expand Down

0 comments on commit 7bdf5d8

Please sign in to comment.