Skip to content

Commit 7e9becc

Browse files
fix: make fontData deprecated
1 parent 417b34e commit 7e9becc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/lib/extract/types.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,9 @@ export interface TextSpecificProps extends CommonPathProps, FontProps {
369369
verticalAlign?: NumberProp;
370370
lengthAdjust?: LengthAdjust;
371371
textLength?: NumberProp;
372+
/**
373+
* @deprecated Use other font props instead.
374+
*/
372375
fontData?: null | { [name: string]: unknown };
373376
fontFeatureSettings?: string;
374377
}

0 commit comments

Comments
 (0)