Genesis
@beta

NativeReadinessChip

The resource workspace's pieces on the phone (a form, a course, a lesson): the twins of genesis-ui's `/resource` components, over the same genesis-core rules (`@marktiderman/genesis-core/resource`). - NativeReadinessChip: "Ready to publish", or how many problems to fix (`readinessChip`). - NativeHeadlineNumbers: a grid of headline numbers, two across (`HeadlineNumber`). - NativeSummaryCard: one card of a summary: an icon, a title, a line on the right, then the body. - NativeFollowUpList: responses that need a follow-up, with their tag, comment, low score and actions. - NativeResponsesToolbar: Summary / Each response, the host's filters and its actions.

packages/ui-native/src/components/resource.tsx

Import
Subpath export: @marktiderman/genesis-ui-native
import { NativeReadinessChip } from "@marktiderman/genesis-ui-native";
Components
Auto-generated from TypeScript source via react-docgen-typescript.

NativeReadinessChip

PropTypeDefaultDescription
readiness*Readiness—
classNamestring—
labelsReadinessLabels—
onPress(() => void)—Makes it a button (open the checks).

NativeHeadlineNumbers

PropTypeDefaultDescription
numbers*readonly HeadlineNumber[]—
classNamestring—
isLoadingbooleanfalse

NativeSummaryCard

PropTypeDefaultDescription
title*string—
classNamestring—
iconReactNode—
metaReactNode—
testIDstring—

NativeFollowUpList

PropTypeDefaultDescription
entries*readonly NativeFollowUpEntry[]—
actions((entry: NativeFollowUpEntry) => ReactNode)—
classNamestring—
emptystringNothing to follow up right now.
isLoadingbooleanfalse
noCommentstringNo comment
titlestringNeeds a follow-up

NativeResponsesToolbar

PropTypeDefaultDescription
onViewChange*(view: NativeResponsesView) => void—
view*enum—
actionsReactNode—
classNamestring—
filtersReactNode—
labels{ summary?: string; each?: string; } | undefined{}