Skip to content

Commit b95e10a

Browse files
authored
Checkbox labelProps added flex modifires to TextProps (wix#2243)
1 parent e88654c commit b95e10a

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

src/commons/new.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,6 @@ export {
1414
PaddingModifiers,
1515
TypographyModifiers,
1616
ColorsModifiers,
17-
BackgroundColorModifier
17+
BackgroundColorModifier,
18+
FlexModifiers
1819
} from './modifiers';

src/components/text/index.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,17 @@ import {
88
ForwardRefInjectedProps,
99
MarginModifiers,
1010
TypographyModifiers,
11-
ColorsModifiers
11+
ColorsModifiers,
12+
FlexModifiers
1213
} from '../../commons/new';
1314
import {Colors} from 'style';
1415
import {TextUtils} from 'utils';
1516

1617
export type TextProps = RNTextProps &
1718
TypographyModifiers &
1819
ColorsModifiers &
19-
MarginModifiers & {
20+
MarginModifiers &
21+
FlexModifiers & {
2022
/**
2123
* color of the text
2224
*/

0 commit comments

Comments
 (0)