• 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

0.1.4

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

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

  • Empty state component

    0.1.0

Statistik