0.0.30 • Published 1 year ago
kenil v0.0.30
Installation
To install the Kenil package, run the following command:
npm i kenil
Importing Styles
After installing the package, import the CSS styles in the root of your project (typically in index.js or index.ts):
import 'kenil/dist/styles.css';
Usage
To use the NavbarRound component in your application, first import the component:
import { NavbarRound } from 'kenil';
Then, you can use it in your React component like this:
import React, { useState } from 'react';
import { NavbarRound } from 'kenil';
const App = () => {
// Define your navbar data
const [data, setData] = useState({
id: "",
value: [
{
name: "Home",
link: "https://reactrouter.com/en/main/start/tutorial",
className: ""
},
// ... add more items as needed
],
logo: "logo.png", // Ensure this path is correct and accessible in your project
});
return (
<div>
<NavbarRound value={data.value} logo={data.logo} />
</div>
);
};
export default App;
0.0.30
1 year ago
0.0.20
1 year ago
0.0.21
1 year ago
0.0.22
1 year ago
0.0.24
1 year ago
0.0.25
1 year ago
0.0.26
1 year ago
0.0.27
1 year ago
0.0.28
1 year ago
0.0.29
1 year ago
0.0.19
1 year ago
0.0.16
1 year ago
0.0.15
1 year ago
0.0.13
1 year ago
0.0.12
1 year ago
0.0.9
1 year ago
0.0.8
1 year ago
0.0.5
1 year ago
0.0.4
1 year ago
0.0.2
1 year ago
0.0.1
1 year ago