import React, { ComponentProps } from 'react'; import { Falsy } from 'react-native'; import { Snackbar } from 'react-native-paper'; import { useColorPrimitives } from '../theme/colorSystem'; import TextRoleNucleon, { TextRoleNucleonProps } from './nucleons/TextRoleNucleon'; export type UISnackbarAtomProps = Omit< ComponentProps, 'style' | 'children' > & { children?: string | Falsy; textProps?: TextRoleNucleonProps; }; export default function UISnackbarAtom({ children, textProps, role = 'uiLabel', ...props }: UISnackbarAtomProps & Pick, 'role'>) { const { surface } = useColorPrimitives(); return ( {children} ); }