UNPKG

1.15 kBTypeScriptView Raw
1/// <reference types="react" />
2import { FlexAlignType, ColorValue } from 'react-native';
3import type { EllipsizeProp, InternalTheme } from 'src/types';
4declare type Description = React.ReactNode | ((props: {
5 selectable: boolean;
6 ellipsizeMode: EllipsizeProp | undefined;
7 color: string;
8 fontSize: number;
9}) => React.ReactNode);
10export declare type Style = {
11 marginLeft?: number;
12 marginRight?: number;
13 marginVertical?: number;
14 alignSelf?: FlexAlignType;
15};
16export declare const getLeftStyles: (alignToTop: boolean, description: Description, isV3: boolean) => {
17 marginLeft: number;
18 marginRight: number;
19};
20export declare const getRightStyles: (alignToTop: boolean, description: Description, isV3: boolean) => {
21 marginRight: number;
22};
23export declare const getAccordionColors: ({ theme, isExpanded, customRippleColor, }: {
24 theme: InternalTheme;
25 isExpanded?: boolean | undefined;
26 customRippleColor?: ColorValue | undefined;
27}) => {
28 titleColor: string;
29 descriptionColor: string;
30 titleTextColor: string;
31 rippleColor: ColorValue;
32};
33export {};
34//# sourceMappingURL=utils.d.ts.map
\No newline at end of file