Components
HeaderButton
A pressable header glyph.
Despite the general name this is specifically an info button: the icon is
a hardcoded FontAwesome info-circle at a fixed size and a literal gray,
with no way to change any of it. onPress is the only prop. For any other
header action, compose a Button size="icon" instead.
This example is composed with Storybook args. Open the interactive workbench to change its props and inspect the generated API controls.
Import
import { HeaderButton } from '@simal/ui/nativewindui';Props
| Prop | Values | Default | Description |
|---|---|---|---|
onPress | — | — | The only prop. The glyph is fixed — see the note above. |