UNPKG

react-native-animateable-text

Version:

A fork of React Native's `<Text/> component that supports Reanimated Shared Values as text!

27 lines (25 loc) 725 B
declare module 'react-native/Libraries/NativeComponent/ViewConfig' { export type PartialViewConfig = { validAttributes?: Record<string, unknown>; directEventTypes?: Record< string, { registrationName?: string; } >; bubblingEventTypes?: Record< string, { phasedRegistrationNames?: { captured?: string; bubbled?: string; skipBubbling?: string; }; } >; uiViewClassName?: string; }; export function createViewConfig<T extends PartialViewConfig>( partialViewConfig: T, ): T; }