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

Komponenter

Komponenter

​
​

Inga resultat hittade, prova med andra sökvillkor.

Empty State

Empty State

2.0.3

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

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

  • Enhance EmptyState component with children support

    2.0.2
  • Update the button order in EmptyState for desktop

    2.0.1
  • Update to MUI 7

    2.0.0

    Breaking

  • Adds sx prop to EmptyState.

    1.0.4
  • Ensure customAttribute is correctly applied to FlowButton in EmptyState

    1.0.1

Statistik

  • Importer av Empty State

    31
  • Repos med Empty State

    31%
  • Senaste installerade version av Empty State

    2.0.2
  • Äldsta installerade version av Empty State

    0.2.2