0.0.30 • Published 2 months 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
2 months ago
0.0.20
2 months ago
0.0.21
2 months ago
0.0.22
2 months ago
0.0.24
2 months ago
0.0.25
2 months ago
0.0.26
2 months ago
0.0.27
2 months ago
0.0.28
2 months ago
0.0.29
2 months ago
0.0.19
2 months ago
0.0.16
2 months ago
0.0.15
2 months ago
0.0.13
2 months ago
0.0.12
2 months ago
0.0.9
2 months ago
0.0.8
2 months ago
0.0.5
2 months ago
0.0.4
2 months ago
0.0.2
2 months ago
0.0.1
2 months ago