LimitedBanner
import { LimitActions, LimitedBanner } from '@hanzo/ui/product'
No examples yet.
Types
export interface LimitedBannerProps {
message: string
actions?: readonly LimitAction[]
/**
* Takes an action. Without one only the pages (Upgrade, Add prepaid credit)
* are offered, and the browser goes to their URL: Continue with credits and a
* model switch need the host.
*/
onAction?: (action: LimitAction) => void
/** Opens the host's usage settings; draws "See usage" when given. */
onUsage?: () => void
onClose?: () => void
/** The quiet controls' words, in the reader's language: "See usage" and the close mark's "Dismiss". */
labels?: { usage?: string; dismiss?: string }
}Exports
LimitActionsLimitedBannertype LimitedBannerProps