Skip to Content
BBRICKSv0.7.4
Screens

PR · Creator drawer

Approvals with a creator open: photo, tier and status, the join request, sales and orders, and the TRNDR score broken into its parts.

Approvals with a creator open: photo, tier and status, the join request, sales and orders, and the TRNDR score broken into its parts. Composed in PrScreensCore.tsx from BRICKS exports only, in the pr theme, with the PR Portal v3 mock's numbers.

Creator drawer

Approvals with a creator open: photo, tier and status, the join request, sales and orders, and the TRNDR score broken into its parts.

Pinned to TRNDR preset
Code
import { useLanguage } from '@ergasti/bricks';
import { PrCreatorDrawerScreen } from '../../../packages/bricks/src/gallery/screens/PrScreensCore';

function PrCreatorDrawer() { return <PrCreatorDrawerScreen language={useLanguage()} />; }

How it is built

  • Approvals (as on PR · Approvals) with PrCreatorDrawer open, from Sara Ali's join request (join).
  • The drawer's head is the kit Drawer's headerStyle="pr" (the default since 0.7.0): a 64px photo, the 20px name, the platforms line, TierChip and PrStatusPill, the close button at the top end.
  • The body: the join Banner with the brand in bold, two Tile size="stat" (sales and orders), and the TRNDR score as ScoreBreakdown variant="card" (passed as scoreVariant="card", 0.7.0): a Card variant="inset" with the score as its badge and DetailsBars variant="stacked" rows. Then the facts and the address note.
  • The footer: a ruled line over ApprovalActions, Reject and Approve sharing the width.