/* eslint-disable react/jsx-key */ import { TextStyle, View, ViewStyle } from "react-native" import { Icon, iconRegistry, type IconTypes } from "@/components/Icon" import { Text } from "@/components/Text" import { $styles } from "@/theme/styles" import type { ThemedStyle } from "@/theme/types" import { Demo } from "./types" import { DemoUseCase } from "../DemoUseCase" const $demoIconContainer: ThemedStyle = ({ spacing }) => ({ padding: spacing.xs, }) const $iconTile: ThemedStyle = ({ spacing }) => ({ width: "33.333%", alignItems: "center", paddingVertical: spacing.xs, }) const $iconTileLabel: ThemedStyle = ({ colors, spacing }) => ({ marginTop: spacing.xxs, color: colors.textDim, }) const $customIconContainer: ThemedStyle = ({ colors, spacing }) => ({ padding: spacing.md, backgroundColor: colors.palette.angry500, }) export const DemoIcon: Demo = { name: "Icon", description: "demoIcon:description", data: ({ theme, themed }) => [ {Object.keys(iconRegistry).map((icon) => ( {icon} ))} , , , , ], }