EmptyStates

EmptyStates UI Component

Installation

npm i @synerise/ds-empty-states
or
yarn add @synerise/ds-empty-states

Usage

import EmptyStates from '@synerise/ds-empty-states'
<EmptyStates />

Demo

API

PropertyDescriptionTypeDefault
sizeChanging size on Icon'Xl' / 'L'M
labeltext of empty statesstring / React.ReactNode-
labelPositionDefines the position of textright / bottombottom
texttext of Headerstring / React.ReactNode-
typetype of iconAdd / NoResults / SearchNoResults-
buttonrender buttonstring / React.ReactNode-
fontSizeset size of Headerstring / React.ReactNode-
modeprop to set empty states in centerabsolute / undefined-