Custom types validations
Only types for create your custom dropdown, select box, tooltip or etc. How it works:
So, DropdownOptionsMapKeys
- it is interface for your custom component, it has two properties:
options
- it's options:) and optionsMapKeys
- it`s map for detect your custom keys for value and label.
options
- use type Option for validate your data, for example if your change data
to
you will get error by typescript