1.1.10 • Published 11 months ago

@synerise/ds-toolbar v1.1.10

Weekly downloads
-
License
ISC
Repository
github
Last release
11 months ago

id: toolbar

title: Toolbar

Toolbar UI Component

Installation

npm i @synerise/ds-toolbar
or
yarn add @synerise/ds-toolbar

Usage

import Toolbar from '@synerise/ds-toolbar'

<Toolbar>
  <ToolbarGroup>
    <ToolbarButton mode="single-icon">
      <Icon component={<StepBackM />} />
    </ToolbarButton>
    <ToolbarButton mode="single-icon">
      <Icon component={<StepForwardM />} />
    </ToolbarButton>
  </ToolbarGroup>
</Toolbar>

Demo

API

Toolbar

PropertyDescriptionTypeDefault
childrencontents of the toolbarReactNode-

ToolbarGroup

PropertyDescriptionTypeDefault
childrencontents of the toolbarReactNode-
isCompactcompact ToolbarGroup has 0px gap between elementsboolean-

ToolbarButton

see ds-button for more props

PropertyDescriptionTypeDefault
typetype of button'ghost-primary' / 'ghost' / 'custom-color-ghost'-
tooltipPropsTooltip configTooltipProps see ds-tooltip-
badgePropsBadge configBadgeProps see ds-badge-
1.1.1

1 year ago

1.1.0

1 year ago

1.0.0

1 year ago

1.1.9

11 months ago

1.1.8

11 months ago

1.1.7

11 months ago

1.1.6

12 months ago

1.1.5

1 year ago

1.1.4

1 year ago

1.1.3

1 year ago

1.1.2

1 year ago

1.1.10

11 months ago

0.2.7

1 year ago

0.2.6

1 year ago

0.2.5

1 year ago

0.2.3

1 year ago

0.2.4

1 year ago

0.2.1

1 year ago

0.2.0

1 year ago

0.2.2

1 year ago

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago

0.0.1

1 year ago