ptmt / react-native-macos

[deprecated in favor of https://microsoft.github.io/react-native-windows/] React Native for macOS is an experimental fork for writing desktop apps using Cocoa
MIT License
11.25k stars 429 forks source link

Fix bordered and bezeled property not being forwarded #210

Closed jamztang closed 5 years ago

jamztang commented 5 years ago

RCTTextInputManager.m seemed to be missing the property export for bezeled and bordered. This add that back.

RCT_EXPORT_VIEW_PROPERTY(bezeled, BOOL)
RCT_EXPORT_VIEW_PROPERTY(bordered, BOOL)

TextInput can now configure whether the border/bezel is displayed.

<TextInput
    bordered={false}
    bezeled={false}
/>