Overview
TheTouchableHighlight
component provides visual feedback by underlaying a color when pressed. Uniwind provides className prop support for styling this component.
Styling Convention
For
style
props: Use regular Tailwind classes directly (e.g., className="p-4"
).For non-style props (like underlayColor
): Use the accent-
prefix (e.g., underlayColorClassName="accent-bg-gray-200"
).Uniwind Bindings
Maps to the
style
prop. Use any Tailwind utility classes.Maps to the
underlayColor
prop. Requires accent-
prefix for color values.