📲
HC Mobile App UI Docs
  • Introduction
  • Foundations
    • Colors
    • Icons
    • Layout Primitives
    • Theming
  • Typography
    • Heading
    • Text
    • Custom Fonts
  • Components
    • Accordion
    • Avatar
    • Bottom Sheet
    • Button
    • Button Group
    • Card List
    • Card List Item
    • Checkbox
    • Chip
    • Date Picker
    • Divider
    • Expandable Card
    • Floater
    • Horizontal List
    • Icon
    • Icon Toggle
    • Link
    • List Header
    • Lower Prompt
    • Nestable List
    • Pill Toggle
    • Radio
    • Select Picker
    • Selectable List
    • Text Input
    • Tiles
  • Utilities
    • Device Utilities
    • Layout Utilities
  • Resources
    • Issues
    • Changelog
    • GitHub
Powered by GitBook
On this page
  1. Components

Lower Prompt

PreviousList HeaderNextNestable List

Last updated 3 years ago

CtrlK
  • Installation
  • Example
  • Props

Installation

import { LowerPrompt, LowerPromptProps } from 'hc-mobile-app-ui';

Example

Props

Name
Type
Description

isOpen

string

Determines if the prompt is open or not.

intent

danger | success

Sets the color of the confirm button.

leftButtonLabel

string

Label of the left button.

leftButtonCallback

function

Function to be call when the left button is pressed.

leftButtonColor

string

Color of the left button.

rightButtonLabel

string

Label of the right button.

rightButtonCallback

function

Function to be call when the right button is pressed.

rightButtonColor

string

Color of the right button. This gets overridden if an "intent" is specified.