1.0.17 • Published 9 months ago
kinetik-react-components v1.0.17
Kinetik React Components
A collection of reusable React components for building user interfaces in Kinetik applications.
Installation
You can install kinetik-react-components
from npm:
npm install kinetik-react-components
Usage
After installing, you can import and use the components in your React application. Below is an example of how to use the Button
component.
Example: Using the Button Component
Here’s a simple example demonstrating how to use the Button
component:
import { Button } from "kinetik-react-components";
const App = () => {
// Function to handle button click
const handleClick = () => {
alert("Button clicked!");
};
return (
<>
<Button onClick={handleClick}>Click Me!</Button>
</>
);
};
export default App;
Available Components
- Avatar: Displays a user avatar.
- Button: A customizable button component.
- Card: A card component to display content.
- Collapsible: A collapsible content component.
- FlexRow: A layout component for horizontal alignment.
- Heading: A heading component.
- Paragraph: A paragraph component for text.
- Select: A dropdown select component.
- Table: A table component for displaying data.
- Tooltip: A tooltip component for additional information.