react-native-paper
Version:
Material design for React Native
24 lines • 821 B
TypeScript
import type { ColorValue } from 'react-native';
import type { InternalTheme } from '../../types';
import type { IconSource } from '../Icon';
export declare const MIN_WIDTH = 112;
export declare const MAX_WIDTH = 280;
declare type ContentProps = {
isV3: boolean;
iconWidth: number;
leadingIcon?: IconSource;
trailingIcon?: IconSource;
};
declare type ColorProps = {
theme: InternalTheme;
disabled?: boolean;
customRippleColor?: ColorValue;
};
export declare const getMenuItemColor: ({ theme, disabled, customRippleColor, }: ColorProps) => {
titleColor: string;
iconColor: string;
rippleColor: ColorValue | undefined;
};
export declare const getContentMaxWidth: ({ isV3, iconWidth, leadingIcon, trailingIcon, }: ContentProps) => number;
export {};
//# sourceMappingURL=utils.d.ts.map