@automattic/launchpad
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

Launchpad

Launchpad is the base component for displaying a checklist in the WordPress.com dashboard. It handles fetching the checklist data and displaying the checklist.

Usage

First, import the Launchpad component:

import { Launchpad } from '@automattic/launchpad'

Then, use it in your code:

function App( { siteSlug, checklistSlug } ) {
    return (
        <Launchpad
            siteSlug={ siteSlug }
            checklistSlug={ checklistSlug } />
    );
}

Props

siteSlug

The site slug of the site to display the checklist for.

checklistSlug

Optional slug of the checklist to display. This is ID of the checklist defined on Jetpack's side. See Jetpack checklist definitions.

We use the @automattic/data-stores package to fetch the checklist data and cache it, through the useLaunchpad query.

Readme

Keywords

none

Package Sidebar

Install

npm i @automattic/launchpad

Weekly Downloads

0

Version

1.0.0

License

GPL-2.0-or-later

Unpacked Size

608 kB

Total Files

71

Last publish

Collaborators

  • porada
  • imranh920
  • gmjuhasz
  • rcarvalho
  • briowill
  • bgrgicak
  • dhenridev
  • daledupreez-a8c
  • jeherve
  • yuliyan
  • micbosia8c
  • jeremy.yip
  • wpvip-bot
  • etobiesen
  • kzoschke
  • brunobasto
  • kat3samsin
  • fmfernandes
  • newspack
  • robertsreberski_a8c
  • msurdi-a8c
  • chihsuan
  • manzoorwanijk
  • rjchow
  • andrea-sdl
  • scjr
  • spsiddarthan
  • t2dw4t
  • ehg_
  • wwa
  • sirreal
  • elazzabi
  • royho
  • luismulinari
  • macbre
  • mjangda
  • matticbot
  • a8c
  • blowery
  • noahtallen
  • hanifn
  • sgomes
  • tyxla
  • saroshaga
  • parkcityj
  • nejclovrencic
  • sirbrillig
  • chriszarate
  • robersongomes
  • johngodley