UNPKG

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

23 lines (20 loc) 856 B
import { ViewStyle } from 'react-native'; import { Theme } from '../../libraries/themes/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'; borderRadius?: number; } export interface DialogContainerStylesInterface extends Pick<DialogProps, 'fullWidth' | 'maxWidth' | 'borderRadius'> { colors: Theme; } export interface DialogActionsProps extends BoxProps { dialogActionsContainerStyles?: ViewStyle; align?: 'left' | 'right' | 'center'; } export type DialogActionsContainerStylesInterface = Pick<DialogActionsProps, 'align'>;