UNPKG

821 BTypeScriptView Raw
1import type { ColorValue } from 'react-native';
2import type { InternalTheme } from '../../types';
3import type { IconSource } from '../Icon';
4export declare const MIN_WIDTH = 112;
5export declare const MAX_WIDTH = 280;
6declare type ContentProps = {
7 isV3: boolean;
8 iconWidth: number;
9 leadingIcon?: IconSource;
10 trailingIcon?: IconSource;
11};
12declare type ColorProps = {
13 theme: InternalTheme;
14 disabled?: boolean;
15 customRippleColor?: ColorValue;
16};
17export declare const getMenuItemColor: ({ theme, disabled, customRippleColor, }: ColorProps) => {
18 titleColor: string;
19 iconColor: string;
20 rippleColor: ColorValue | undefined;
21};
22export declare const getContentMaxWidth: ({ isV3, iconWidth, leadingIcon, trailingIcon, }: ContentProps) => number;
23export {};
24//# sourceMappingURL=utils.d.ts.map
\No newline at end of file