Skip to content

Commit cd83933

Browse files
committed
fix: pass label, style and secureTextEntry props to rn paper text input
1 parent 944a58e commit cd83933

File tree

1 file changed

+4
-1
lines changed
  • packages/rff-rn-paper/src/components/TextInput

1 file changed

+4
-1
lines changed

packages/rff-rn-paper/src/components/TextInput/index.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export type TextInputProps = BaseInputProps &
4747
/**
4848
* Property that represents if show or hide the password text
4949
*/
50-
secureTextEntry?: string;
50+
secureTextEntry?: boolean;
5151
/**
5252
* Property that represents the input styles
5353
*/
@@ -92,6 +92,9 @@ export const TextInput: React.FC<TextInputProps> = React.forwardRef(({
9292
<PaperTextInput
9393
{...InputProps}
9494
{...TextInputProps}
95+
label={label}
96+
style={style}
97+
secureTextEntry={secureTextEntry}
9598
ref={textInputRef}
9699
value={value}
97100
error={error}

0 commit comments

Comments
 (0)