diff --git a/README.md b/README.md index c7fef3aab4..5829ebe3e3 100644 --- a/README.md +++ b/README.md @@ -15,8 +15,12 @@ [![NPM Downloads](https://img.shields.io/npm/dm/react-native-ui-lib.svg?style=flat)](https://www.npmjs.com/package/react-native-ui-lib) Follow on Twitter -Check out our [Docs](https://wix.github.io/react-native-ui-lib/).
-Our [Discord Channel](https://discord.gg/2eW4g6Z) + +## Links +- [Docs](https://wix.github.io/react-native-ui-lib/) +- [Figma library](https://www.figma.com/community/file/1379775092983284111/rnui-library) +- [Discord Channel](https://discord.gg/2eW4g6Z) + Download our Expo demo app

@@ -130,4 +134,4 @@ class MyScreen extends Component { ## Contributing See [Contribution Guide](https://github.com/wix/react-native-ui-lib/blob/master/CONTRIBUTING.md) - \ No newline at end of file + diff --git a/demo/src/screens/__tests__/__snapshots__/TextFieldScreen.spec.js.snap b/demo/src/screens/__tests__/__snapshots__/TextFieldScreen.spec.js.snap index 893ce7a663..7eac3e92e9 100644 --- a/demo/src/screens/__tests__/__snapshots__/TextFieldScreen.spec.js.snap +++ b/demo/src/screens/__tests__/__snapshots__/TextFieldScreen.spec.js.snap @@ -1899,6 +1899,8 @@ exports[`TextField Screen renders screen 1`] = ` } > (); state = { @@ -99,7 +100,7 @@ export default class PickerScreen extends Component { contact: 0 }; - renderDialog: PickerProps['renderCustomModal'] = (modalProps: RenderCustomModalProps) => { + renderDialog: PickerProps['renderOverlay'] = (modalProps: RenderCustomModalProps) => { const {visible, children, toggleModal, onDone} = modalProps; return ( Picker + this.setState({customModalValues: items})} mode={Picker.modes.MULTI} trailingAccessory={dropdownIcon} - renderCustomModal={this.renderDialog} + renderOverlay={this.renderDialog} items={options} /> @@ -183,7 +185,7 @@ export default class PickerScreen extends Component { onChange={item => this.setState({option: item})} topBarProps={{title: 'Languages'}} useDialog - renderCustomDialogHeader={({onDone, onCancel}) => ( + renderHeader={({onDone, onCancel}) => (