Skip to content

Commit 0406a99

Browse files
committed
Update generated types
1 parent 642afdb commit 0406a99

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

generatedTypes/src/style/colors.d.ts

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,6 @@ declare const colorObject: Colors & {
9797
orange30: string;
9898
orange40: string;
9999
orange50: string;
100-
/**
101-
* Get app's current color scheme
102-
*/
103100
orange60: string;
104101
orange70: string;
105102
orange80: string;
@@ -113,14 +110,6 @@ declare const colorObject: Colors & {
113110
red80: string;
114111
purple10: string;
115112
purple20: string;
116-
/**
117-
* Add alpha to hex or rgb color
118-
* arguments:
119-
* p1 - hex color / R part of RGB
120-
* p2 - opacity / G part of RGB
121-
* p3 - B part of RGB
122-
* p4 - opacity
123-
*/
124113
purple30: string;
125114
purple40: string;
126115
purple50: string;
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
interface Props {
2+
style: any;
3+
}
4+
interface Component {
5+
props: Props;
6+
}
7+
declare const findStyle: <T>(key: string, component: Component) => T;
8+
export { findStyle };
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
export * from '@testing-library/react-native';
2+
import { findStyle } from './helper';
3+
export { findStyle };

0 commit comments

Comments
 (0)