Skip to Content
ComponentsButtonQuickAction

ButtonQuickAction

The ButtonQuickAction component is a quick action button with icon and label for quick actions and shortcuts.

ButtonQuickAction

Basic Usage

import { IconUser } from "@tabler/icons-react-native"; <QuickActionButton icon={<IconUser size={24} />} label="Profile" onPress={handleProfile} variant="primary" />

Import

import QuickActionButton from "../components/QuickActionButton";

Props

  • label (string, Required): Button text label.
  • icon (React.Component, Required): Icon component displayed on left.
  • onPress (function, Required): Function called when button is pressed.
  • variant (“primary” | “secondary” | “tertiary”, default: “primary”): Button style variant.