1.0.19 • Published 3 years ago

generic-reusable-components v1.0.19

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

generic-reusable-components

generic reusable react components like navbar, hero section, button, form, footer, card etc.

NPM JavaScript Style Guide

Install

npm install --save generic-reusable-components

Usage

import React, { Component } from 'react'

import { Nav } from 'generic-reusable-components'

class Example extends Component {
  render() {
    return <Nav />
  }
}

Hooks

import React from 'react'

import { Nav } from 'generic-reusable-components'

const Example = () => {
  return <Nav />
}

Props

Nav

Prop | Type | Optional/Mandatory

--- | --- | ---

children | components | optional

logo | component | mandatory

links | Object | mandatory

linkItemMargin | String | optional

linkFontSize | String | optional

linkColor | String | optional

containerPadding | String | optional

containerBgColor | String | optional

containerHeight | String | optional

*(each link can have the following properties: "to", "text" and "icon")

License

MIT © dandan-drori

1.0.19

3 years ago

1.0.18

3 years ago

1.0.17

3 years ago

1.0.16

3 years ago

1.0.15

3 years ago

1.0.14

3 years ago

1.0.13

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago