Skip to content

Commit dc76174

Browse files
committed
update TouchableOpacity modifiers typings
1 parent bc12413 commit dc76174

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

generatedTypes/components/touchableOpacity/index.d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import React from 'react';
22
import { TouchableOpacityProps } from 'react-native';
3-
declare type IProps = TouchableOpacityProps & {
3+
import { ContainerModifiers } from '../../commons/new';
4+
declare type IProps = TouchableOpacityProps & ContainerModifiers & {
45
/**
56
* background color for TouchableOpacity
67
*/

src/components/touchableOpacity/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import React, {PureComponent} from 'react';
22
import {TouchableOpacity as RNTouchableOpacity, TouchableOpacityProps} from 'react-native';
33
import _ from 'lodash';
4-
import {asBaseComponent, forwardRef, BaseComponentInjectedProps, ForwardRefInjectedProps} from '../../commons/new';
4+
import {asBaseComponent, forwardRef, BaseComponentInjectedProps, ForwardRefInjectedProps, ContainerModifiers} from '../../commons/new';
55
// @ts-ignore
66
import Incubator from '../../incubator';
77

8-
type IProps = TouchableOpacityProps & {
8+
type IProps = TouchableOpacityProps & ContainerModifiers & {
99
/**
1010
* background color for TouchableOpacity
1111
*/

0 commit comments

Comments
 (0)