Skip to content

Commit 97d6002

Browse files
authored
Merge pull request #1 from mjkatgithub/release/v1-0-0
Release/v1 0 0
2 parents cd5cb26 + ccd706d commit 97d6002

File tree

16 files changed

+374
-185
lines changed

16 files changed

+374
-185
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Changelog
2+
All notable changes to this project will be documented in this file.
3+
4+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6+
7+
## [Unreleased]
8+
9+
## [1.0.0] - 2020-05-03
10+
### Added
11+
- Simple Navbar for react-js

README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# dynamic-react-navbar
22

3-
> Made with create-react-library
3+
some navbars for react-js
44

55
[![NPM](https://img.shields.io/npm/v/dynamic-react-navbar.svg)](https://www.npmjs.com/package/dynamic-react-navbar) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)
66

@@ -15,12 +15,17 @@ npm install --save dynamic-react-navbar
1515
```jsx
1616
import React, { Component } from 'react'
1717

18-
import MyComponent from 'dynamic-react-navbar'
18+
import Navbar from 'dynamic-react-navbar'
1919
import 'dynamic-react-navbar/dist/index.css'
2020

2121
class Example extends Component {
2222
render() {
23-
return <MyComponent />
23+
const links = [
24+
{ caption: 'Home', path: '/', key: '1' },
25+
{ caption: 'About', path: '/about', key: '2' },
26+
{ caption: 'Contact', path: '/Contact', key: '3' },
27+
];
28+
return <Navbar links={links} />
2429
}
2530
}
2631
```

0 commit comments

Comments
 (0)