• Start
  • Blogg
  • Kom igång
  • Riktlinjer
  • Komponenter
  • Changelog
  • Tillgänglighet
  • Inställningar

Komponenter

Komponenter

​
​

Inga resultat hittade, prova med andra sökvillkor.

Empty State

Empty State

2.1.5

A description of the Empty State component is work in progress.

Demo
Props
Installation
Länkar
Change log
Statistik

Demo

Props

Se fullständing dokumentation(öppnas i ny flik)
NamnTypBeskrivning

body

stringBody text of the component

children

React.ReactNodeChildren of the component

icon

"NoTicketsIllustration" | "InDevelopmentIllustration" | "ErrorIllustration" | "MyProfileIllustration" | "TicketInTheAppIllustration" | "EnvironmentalMessageIllustration"Icon to display, only illustraton icon type is allowed

preamble

stringPreamble text of the component

primaryAction

ActionAction to occur when the primary button is activated

secondaryAction

ActionAction to occur when the secondary button is activated

sx

SxPropsThe system prop that allows defining system overrides as well as additional CSS styles.

title

stringHeading text of the component

titleElementType

"h1" | "h2" | "h3" | "h4" | "h5" | "h6"Semantic HTML heading tag to be used for the title.

Installation

Kodexempel
npm install @sj-ab/component-library.ui.empty-state

Länkar

  • Storybook

  • Figma

  • Bit.cloud

Change log

  • Add LinkComponent support in EmptyState

    2.1.0
  • Cleaning up ADO resources and manually moved ADO 94399

    2.0.13
  • Add .vscode/tasks.json for task automation

    2.0.7

Statistik

  • Importer av Empty State

    8
  • Repos med Empty State

    9%
  • Senaste installerade version av Empty State

    1.0.0
  • Äldsta installerade version av Empty State

    0.1.1