react-native-reanimated
Version:
More powerful alternative to Animated library for React Native.
16 lines (13 loc) • 440 B
text/typescript
;
import type { StyleProps } from '../../../commonTypes';
import type { NativePseudoSelectorKey } from '../../types/pseudo';
import type { CSSTransitionConfig } from './transition';
export type CSSPseudoStyleEntry = {
selector: NativePseudoSelectorKey;
selectorStyle: StyleProps;
transition: CSSTransitionConfig;
};
export type CSSPseudoStyleConfig = {
defaultStyle: StyleProps;
selectors: CSSPseudoStyleEntry[];
};