Function useSupportedEventKeys
- useSupportedEventKeys<ComponentProps>(props: ComponentProps, supported?: string[]): string[]
-
Type Parameters
-
ComponentProps extends Record<string, any>
Parameters
-
props: ComponentProps
-
supported: string[] = SUPPORTED_EVENTS
Returns string[]
checks for supported event keys in use at props
Returns
supported event keys found at props