Skip to content

Commit 307f495

Browse files
committed
Update generated types
1 parent da853e0 commit 307f495

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

generatedTypes/commons/modifiers.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,12 @@ export declare function extractAccessibilityProps(props?: any): Partial<any>;
8888
export declare function extractAnimationProps(props?: any): Pick<any, "onAnimationEnd" | "animation" | "duration" | "delay" | "direction" | "easing" | "iterationCount" | "transition" | "onAnimationBegin" | "useNativeDriver">;
8989
export declare function extractBorderRadiusValue(props: Dictionary<any>): number | undefined;
9090
export declare function extractModifierProps(props: Dictionary<any>): _.Dictionary<any>;
91+
/**
92+
* TODO:
93+
* @deprecated switch to Modifiers#extractComponentProps
94+
*/
9195
export declare function extractOwnProps(props: Dictionary<any>, ignoreProps: string[]): Pick<Partial<Dictionary<any>>, number>;
96+
export declare function extractComponentProps(component: any, props: Dictionary<any>, ignoreProps: string[]): Pick<Partial<Dictionary<any>>, number>;
9297
export declare function getThemeProps(props?: any, context?: any): any;
9398
export declare function generateModifiersStyle(options: {
9499
color: boolean;

0 commit comments

Comments
 (0)