Skip to content

Commit a2546cf

Browse files
fix: remove unused fontData prop
1 parent 417b34e commit a2546cf

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

src/lib/extract/extractText.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ function parseFontString(font: string) {
5353
}
5454

5555
interface fontProps {
56-
fontData?: unknown;
5756
fontStyle?: string;
5857
fontVariant?: string;
5958
fontWeight?: NumberProp;
@@ -73,7 +72,6 @@ interface fontProps {
7372

7473
export function extractFont(props: fontProps) {
7574
const {
76-
fontData,
7775
fontStyle,
7876
fontVariant,
7977
fontWeight,
@@ -92,7 +90,6 @@ export function extractFont(props: fontProps) {
9290
} = props;
9391

9492
const ownedFont = pickNotNil({
95-
fontData,
9693
fontStyle,
9794
fontVariant,
9895
fontWeight,

src/lib/extract/types.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,5 @@ export interface TextSpecificProps extends CommonPathProps, FontProps {
369369
verticalAlign?: NumberProp;
370370
lengthAdjust?: LengthAdjust;
371371
textLength?: NumberProp;
372-
fontData?: null | { [name: string]: unknown };
373372
fontFeatureSettings?: string;
374373
}

0 commit comments

Comments
 (0)