React-native-paper: Padding="none" not working on TextInput

Created on 27 Jun 2019  路  2Comments  路  Source: callstack/react-native-paper

Environment

React native: 0.59.8
React native paper: 2.16.0

Description

image

This is the error when I add the padding property on none on the TextInput

Reproducible Demo

<TextInput
      {...props}
      error
      selectionColor="black"
      underlineColor="black"
      type="outlined"
      padding="none"  <------
      theme={{
        colors: {
          primary: 'red',
        },
      }}
      style={{
        backgroundColor: 'transparent',
        width: '100%',
      }}
      onChangeText={text => {
      }}
    />

Most helpful comment

You should version the documentation if the documentation is not reflecting the last stable version

All 2 comments

Make sure to install 3.0.0-alpha.2 version if you want to use it right now.

You should version the documentation if the documentation is not reflecting the last stable version

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ZhengYuTay picture ZhengYuTay  路  3Comments

zachariahtimothy picture zachariahtimothy  路  3Comments

alikazemkhanloo picture alikazemkhanloo  路  4Comments

makhataibar picture makhataibar  路  4Comments

ButuzGOL picture ButuzGOL  路  3Comments