Skip to content

Commit b2a3f29

Browse files
committed
fix prop types for ChipsInput props
1 parent 7dd55d7 commit b2a3f29

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

typings/components/ChipsInput.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import {ReactElement} from 'react';
2-
import {StyleProp, TextStyle, ViewStyle, AccessibilityProps, ColorValue} from 'react-native';
2+
import {StyleProp, TextStyle, ViewStyle, AccessibilityProps, ColorValue, TextInputProps} from 'react-native';
33
import {BaseComponent} from '../commons';
44
import {AccessibilityProps} from '../modifiers';
55

@@ -19,7 +19,7 @@ export type ChipsInputOnChangeTagsAction = 'added' | 'removed';
1919

2020
export type ChipsInputOnChangeTagsFunc = (tags: Tag[], action: ChipsInputOnChangeTagsAction, tag: Tag) => void;
2121

22-
export interface ChipsInputProps {
22+
export interface ChipsInputProps extends TextInputProps {
2323
tags?: Tag[];
2424
getLabel?: (tag?: Tag) => string;
2525
renderTag?: ChipsInputRenderTagFunc;

0 commit comments

Comments
 (0)