/* eslint-disable react/jsx-key */ import { TextStyle, ViewStyle } from "react-native" import { Icon } from "@/components/Icon" import { TextField } from "@/components/TextField" import type { ThemedStyle } from "@/theme/types" import { DemoDivider } from "../DemoDivider" import { Demo } from "./types" import { DemoUseCase } from "../DemoUseCase" const $customInputStyle: ThemedStyle = ({ colors }) => ({ backgroundColor: colors.error, color: colors.palette.neutral100, }) const $customInputWrapperStyle: ThemedStyle = ({ colors }) => ({ backgroundColor: colors.error, borderColor: colors.palette.neutral800, }) const $customContainerStyle: ThemedStyle = ({ colors }) => ({ backgroundColor: colors.error, }) const $customLabelAndHelperStyle: ThemedStyle = ({ colors }) => ({ color: colors.palette.neutral100, }) const $customInputWithAbsoluteAccessoriesStyle: ThemedStyle = ({ spacing }) => ({ marginHorizontal: spacing.xxl, }) const $customLeftAccessoryStyle: ThemedStyle = ({ colors }) => ({ backgroundColor: colors.error, position: "absolute", left: 0, }) const $customRightAccessoryStyle: ThemedStyle = ({ colors }) => ({ backgroundColor: colors.error, position: "absolute", right: 0, }) export const DemoTextField: Demo = { name: "TextField", description: "demoTextField:description", data: ({ themed }) => [ , } /> } /> } /> , ( )} RightAccessory={() => ( )} /> , ], }