Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

renderButtonComponent or renderRightComponent does not exist in ModalDropdownProps in latest version #267

Open
Baloc22m opened this issue Dec 3, 2021 · 1 comment

Comments

@Baloc22m
Copy link

Baloc22m commented Dec 3, 2021

Is this by design?

It works but I get a typescript error as follows:

Property 'renderRightComponent' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<ModalDropdown> & Readonly<ModalDropdownProps> & Readonly<...>'.ts(2769)

Will it stop working in future? If yes, what is the alternative to custom render the dropdown main button?

@jonatascm
Copy link

The renderRightComponent is missing in types.
How to make a fix of this?

Do I need to create a PR here or https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/react-native-modal-dropdown/index.d.ts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants