import React from 'react'; import type { PaletteItemProps } from '../../../../types/palette-item'; import { Card } from '../../../card/public'; import { View } from '../../../layout/public'; import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope'; import { useZoraTheme } from '../../../theme/composition/useZoraTheme'; import { Heading } from '../../../typography/public'; import { Text } from '../../../typography/public'; function PaletteItemInner({ themeId: _themeId, mode: _mode, title, description, icon, badge, selected, disabled, onPress, testID, }: PaletteItemProps) { const { theme } = useZoraTheme(); return ( {icon ? {/* Icon spec here */} : null} {title} {description ? ( {description} ) : null} {badge ? {badge} : null} ); } /*** * Tile item pattern for palettes and option grids. * */ export const PaletteItem = withZoraThemeScope(PaletteItemInner);