1.0.2 • Published 5 years ago

@bnnvara/hub v1.0.2

Weekly downloads
2
License
ISC
Repository
-
Last release
5 years ago

HUB

Implements a toolbar like component that can be placed on top of the page and can hold some navigation controls and buttons.

Examples

The component takes the following optional properties:

nametypedescription
childrenReact.Childrena collection of elements that will be placed on the left hand side of the component
actions React.Node an array of elements that will be placed on the right hand side of the component

###code

import React from 'react';
import Hub from '@bnnvara/hub';
import {
  Close, Search, Logo, Settings

} from '@bnnvara/icons'

export default const () => (
    <Hub
      actions={[
        <Settings key="settings" />,
        <Search key="search" />,
        <Close key="close" />,
      ]}
    >
      <Logo/>
    </Hub>
)
1.0.2

5 years ago

1.0.1

5 years ago

2.0.6

6 years ago

2.0.5

6 years ago

2.0.4

6 years ago

2.0.3

6 years ago

2.0.2

6 years ago

2.0.1

6 years ago

2.0.0

6 years ago