UNPKG

@gluestack-ui/core

Version:

Universal UI components for React Native, Expo, and Next.js

13 lines 457 B
import { Alert as AlertMain } from './Alert'; import { AlertText } from './AlertText'; import { AlertIcon } from './AlertIcon'; export function createAlert({ Root, Text, Icon, }) { const Alert = AlertMain(Root); Alert.Text = AlertText(Text); Alert.Icon = AlertIcon(Icon); Alert.displayName = 'Alert'; Alert.Text.displayName = 'Alert.Text'; Alert.Icon.displayName = 'Alert.Icon'; return Alert; } //# sourceMappingURL=index.jsx.map