diff --git a/lib/components/atoms/BaseBanner/index.tsx b/lib/components/atoms/BaseBanner/index.tsx index 3e3c235..1215839 100644 --- a/lib/components/atoms/BaseBanner/index.tsx +++ b/lib/components/atoms/BaseBanner/index.tsx @@ -1,15 +1,10 @@ import React, { createContext, useContext } from 'react'; -import { - Pressable, - StyleProp, - StyleSheet, - View, - ViewStyle, -} from 'react-native'; +import { Pressable, StyleProp, StyleSheet, ViewStyle } from 'react-native'; import { MAX_WIDTH } from '../../../constants'; import { useWllSdk } from '../../../context/WllSdkContext'; import { useHandleTilePress } from '../../../hooks/useHandleTilePress'; import { BannerTileConfig, Tile } from '../../../types/tile'; +import { Row } from '../Primatives'; const BannerContext = createContext(null); @@ -67,7 +62,9 @@ const BaseBanner: React.FC = ({ `${title}${!hasCTA && ctaLink ? ' - Click to open' : ''}` } > - {children} + + {children} + ); @@ -82,9 +79,6 @@ const styles = StyleSheet.create({ justifyContent: 'space-between', overflow: 'hidden', }, - contentContainer: { - // Add styles for content container if needed - }, }); export default BaseBanner;