Components

ValueBlock

<ValueBlock />

Constructor

# <ValueBlock />

Simple Widget, which can be used in the dashboard

View Source admin-bro/src/frontend/components/ui/value-block.tsx, line 34

Example

Type Definitions

object

# Props

Properties:
Name Type Attributes Description
icon string <optional>

Icon class: i.e "fa fa-bomb"

value string | number <optional>

Value string which

children ReactNode <optional>

Content inside a block

color string <optional>

Optional color

href string <optional>

Link url if the block should be clickable

label string <optional>

Label of the block

View Source admin-bro/src/frontend/components/ui/value-block.tsx, line 78