diff --git a/example/package.json b/example/package.json
index a06dff2..610d2fa 100644
--- a/example/package.json
+++ b/example/package.json
@@ -10,6 +10,8 @@
"eject": "node ../node_modules/react-scripts/bin/react-scripts.js eject"
},
"dependencies": {
+ "@coreui/bootstrap-react": "^1.0.0-beta.0",
+ "bootstrap": "^5.1.3",
"dezenix-react": "link:..",
"http-serve": "^1.0.1",
"react": "link:../node_modules/react",
diff --git a/example/src/App.js b/example/src/App.js
index ce33f0e..72fc2c2 100644
--- a/example/src/App.js
+++ b/example/src/App.js
@@ -7,9 +7,15 @@ import {
ComplexComponent,
PortfolioHome,
-
+
+
+
+
} from 'dezenix-react'
+
+import ResponsiveNavbar from './components/ResponsiveNavbar';
+
import Home from './components/Home'
import { HashRouter, Route, Routes } from 'react-router-dom'
import img1 from "./images/img01.png"
@@ -41,7 +47,9 @@ const App = () => {
/>
} />
} />
-
+ } />
+
+
)
diff --git a/example/src/components/Home.js b/example/src/components/Home.js
index 4389dac..2324a1b 100644
--- a/example/src/components/Home.js
+++ b/example/src/components/Home.js
@@ -34,7 +34,10 @@ const Home = () => {
Portfolio Home example
-
+
+ Responsive Navbar
+
+
diff --git a/example/src/components/ResponsiveNavbar/index.js b/example/src/components/ResponsiveNavbar/index.js
new file mode 100644
index 0000000..49d674c
--- /dev/null
+++ b/example/src/components/ResponsiveNavbar/index.js
@@ -0,0 +1,48 @@
+import React, { useEffect, useState } from 'react';
+import { Alert,CNavbar,CContainer,CNavbarBrand,CNavbarToggler,CCollapse,CNavbarNav,CNavLink,CDropdown,CDropdownToggle,CDropdownMenu,CDropdownDivider,CDropdownItem,CNavItem,CForm,CFormInput,CButton } from '@coreui/bootstrap-react'
+import 'bootstrap/dist/css/bootstrap.min.css'
+
+
+const ResponsiveNavbar = () => {
+ const [visible, setVisible] = useState(false)
+ return (
+ <>
+
+
+ Dezenix
+ setVisible(!visible)} />
+
+
+
+
+ Home
+
+
+
+ Option 1
+
+
+ More
+
+ Option 2
+ Option 3
+
+ Other Option
+
+
+
+
+
+
+
+ Search
+
+
+
+
+
+ >
+ )
+}
+
+export default ResponsiveNavbar
diff --git a/example/yarn.lock b/example/yarn.lock
index f7cc153..0049efd 100644
--- a/example/yarn.lock
+++ b/example/yarn.lock
@@ -1322,6 +1322,11 @@
exec-sh "^0.3.2"
minimist "^1.2.0"
+"@coreui/bootstrap-react@^1.0.0-beta.0":
+ version "1.0.0-beta.0"
+ resolved "https://registry.yarnpkg.com/@coreui/bootstrap-react/-/bootstrap-react-1.0.0-beta.0.tgz#002cbf7593ddf41e9c2489eeb909d625fbaf314e"
+ integrity sha512-jNCPCm/7nTf3eE/5/LlIwwIWW6ffAU5vg+bw8L+lmkhLXIt5RWEchbYiKmLBvSB9OaWvLo95NuOQtiWZIv0zNQ==
+
"@csstools/convert-colors@^1.4.0":
version "1.4.0"
resolved "https://registry.yarnpkg.com/@csstools/convert-colors/-/convert-colors-1.4.0.tgz#ad495dc41b12e75d588c6db8b9834f08fa131eb7"
@@ -2973,6 +2978,11 @@ boolbase@^1.0.0, boolbase@~1.0.0:
resolved "https://registry.yarnpkg.com/boolbase/-/boolbase-1.0.0.tgz#68dff5fbe60c51eb37725ea9e3ed310dcc1e776e"
integrity sha1-aN/1++YMUes3cl6p4+0xDcwed24=
+bootstrap@^5.1.3:
+ version "5.1.3"
+ resolved "https://registry.yarnpkg.com/bootstrap/-/bootstrap-5.1.3.tgz#ba081b0c130f810fa70900acbc1c6d3c28fa8f34"
+ integrity sha512-fcQztozJ8jToQWXxVuEyXWW+dSo8AiXWKwiSSrKWsRB/Qt+Ewwza+JWoLKiTuQLaEPhdNAJ7+Dosc9DOIqNy7Q==
+
brace-expansion@^1.1.7:
version "1.1.11"
resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd"
diff --git a/package.json b/package.json
index ff44cbf..8d13f0a 100644
--- a/package.json
+++ b/package.json
@@ -4,10 +4,7 @@
"description": "A library of components",
"author": "Dezenix",
"license": "MIT",
- "repository": {
- "type": "git",
- "url": "https://github.com/Dezenix/frontend-reactjs.git"
- },
+ "repository": "https://github.com/Dezenix/frontend-reactjs.git",
"main": "dist/index.js",
"module": "dist/index.modern.js",
"source": "src/index.js",
diff --git a/src/index.js b/src/index.js
index 8c32fe2..bb1155e 100644
--- a/src/index.js
+++ b/src/index.js
@@ -4,3 +4,4 @@ export { default as ProductCard } from './lib-components/product_card'
export { default as ProgressBar } from './lib-components/progress_bar'
export { default as ComplexComponent } from './lib-components/complexComponent'
export { default as PortfolioHome } from './lib-components/portfolio_home'
+export { default as ResponsiveNavbar } from './lib-components/ResponsiveNavbar'
diff --git a/src/lib-components/ResponsiveNavbar/index.js b/src/lib-components/ResponsiveNavbar/index.js
new file mode 100644
index 0000000..49d674c
--- /dev/null
+++ b/src/lib-components/ResponsiveNavbar/index.js
@@ -0,0 +1,48 @@
+import React, { useEffect, useState } from 'react';
+import { Alert,CNavbar,CContainer,CNavbarBrand,CNavbarToggler,CCollapse,CNavbarNav,CNavLink,CDropdown,CDropdownToggle,CDropdownMenu,CDropdownDivider,CDropdownItem,CNavItem,CForm,CFormInput,CButton } from '@coreui/bootstrap-react'
+import 'bootstrap/dist/css/bootstrap.min.css'
+
+
+const ResponsiveNavbar = () => {
+ const [visible, setVisible] = useState(false)
+ return (
+ <>
+
+
+ Dezenix
+ setVisible(!visible)} />
+
+
+
+
+ Home
+
+
+
+ Option 1
+
+
+ More
+
+ Option 2
+ Option 3
+
+ Other Option
+
+
+
+
+
+
+
+ Search
+
+
+
+
+
+ >
+ )
+}
+
+export default ResponsiveNavbar