react-native-material-elements
Version:
React native material elements is a sophisticated UI library crafted to enhance your React Native development workflow. Designed for simplicity and elegance, nex-ui provides a rich collection of components and utilities to effortlessly create polished mob
22 lines (20 loc) • 851 B
TypeScript
import { ViewStyle } from 'react-native';
import { Theme } from '../../libraries/themes/v1/theme';
import { BoxProps } from '../Box/Box.types';
import { PortalProps } from '../Portal/Portal.types';
import { TextProps } from '../types';
export interface DialogTitleProps extends TextProps {}
export interface DialogProps extends PortalProps {
dialogContainerProps?: Omit<BoxProps, 'children'>;
fullWidth?: boolean;
maxWidth?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
}
export interface DialogContainerStylesInterface extends Pick<DialogProps, 'fullWidth' | 'maxWidth'> {
colors: Theme;
}
export interface DialogActionsProps extends BoxProps {
dialogActionsContainerStyles?: ViewStyle;
maxWidth?: number;
fullWidth?: boolean;
}
export interface DialogActionsContainerStylesInterface extends Pick<DialogActionsProps, 'maxWidth' | 'fullWidth'> {}