We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5bd0cc8 commit fc76aa8Copy full SHA for fc76aa8
web/pageComponents/shared/portableText/helpers/defaultSerializers.tsx
@@ -34,6 +34,7 @@ const block: BlockType = {
34
h2: h2Heading,
35
h3: h3Heading,
36
normal: ({ children }: Props) => <Text>{children}</Text>,
37
+ smallText: ({ children }: Props) => <Text size="small">{children}</Text>,
38
}
39
40
const marks: MarkType = {
@@ -56,7 +57,6 @@ const defaultSerializers: PortableTextReactComponents = {
56
57
block: {
58
...defaultComponents.block,
59
...block,
- smallText: ({ children }: Props) => <Text size="small">{children}</Text>,
60
} as BlockType,
61
marks: {
62
...defaultComponents.marks,
0 commit comments