4.2.0
PatternsApproval card

ApprovalCard API

Every prop of the 10 parts ApprovalCard exports, generated from the package manifest.

import { ApprovalCard, ApprovalCardActions, ApprovalCardAuthority, ApprovalCardConsequence, ApprovalCardCost, ApprovalCardCosts, ApprovalCardHeader, ApprovalCardSummary, ApprovalCardTitle, ApprovalCardTotal } from '@oceanic-hub/brand-system'
Layer
patterns — Generic composites — the shared shell and the shared status vocabulary that make every product inherit the look. The reason this package exists.
Exports
ApprovalCard · ApprovalCardActions · ApprovalCardAuthority · ApprovalCardConsequence · ApprovalCardCost · ApprovalCardCosts · ApprovalCardHeader · ApprovalCardSummary · ApprovalCardTitle · ApprovalCardTotaltypes: ApprovalCardCostProps · ApprovalCardProps
Contract
packages/brand-system/src/components/approval-card.contract.test-d.ts
Demos
3 on the ApprovalCard page — rendered live, hydrated
Source
packages/brand-system/src/components/approval-card.tsx

Generated from manifest/component-manifest.json, so it cannot drift from the source. For what ApprovalCard is for, how it composes and what it looks like, see ApprovalCard.

ApprovalCard

ApprovalCardProps

Prop

Type

Also accepts everything from React.HTMLAttributes<HTMLDivElement>.

ApprovalCardActions

A styled <div> with no API of its own. It takes that element's standard attributes — className, event handlers, ref — and nothing else.

ApprovalCardAuthority

A styled <div> with no API of its own. It takes that element's standard attributes — className, event handlers, ref — and nothing else.

ApprovalCardConsequence

A styled <p> with no API of its own. It takes that element's standard attributes — className, event handlers, ref — and nothing else.

ApprovalCardCost

ApprovalCardCostProps

Prop

Type

Also accepts everything from Omit<React.HTMLAttributes<HTMLDivElement>, 'children'>.

ApprovalCardCosts

A styled <element> with no API of its own. It takes that element's standard attributes — className, event handlers, ref — and nothing else.

ApprovalCardHeader

A styled <div> with no API of its own. It takes that element's standard attributes — className, event handlers, ref — and nothing else.

ApprovalCardSummary

A styled <p> with no API of its own. It takes that element's standard attributes — className, event handlers, ref — and nothing else.

ApprovalCardTitle

A styled <h2> with no API of its own. It takes that element's standard attributes — className, event handlers, ref — and nothing else.

ApprovalCardTotal

ApprovalCardCostProps

Prop

Type

Also accepts everything from Omit<React.HTMLAttributes<HTMLDivElement>, 'children'>.

On this page