Skip to content

janis-commerce/ui-web

This branch is 139 commits behind master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

78d4e31 · Dec 27, 2024
Apr 26, 2024
Feb 19, 2024
Apr 13, 2022
Sep 28, 2022
Apr 22, 2022
Dec 27, 2024
May 31, 2024
Apr 13, 2022
Apr 6, 2022
Dec 27, 2024
Dec 4, 2023
Jun 2, 2021
May 31, 2024
Dec 27, 2024
Jun 2, 2021
Dec 27, 2024
Oct 12, 2023

Repository files navigation

@janis-commerce/ui-web

A package for use generic components from Janis

Installation

npm install @janiscommerce/ui-web

Important: When developing or contributing to this library, please make sure to use yarn to install dependencies. Do not use npm as it might cause issues.

To install dependencies while developing the library:

yarn install

Usage

import React from 'react';
const { Button, Icon } = '@janiscommerce/ui-web';

const MyComponent = () => {
	const handleClick = () => {
		console.log('some action');
	};

	return (
		<div>
			<Button onClick={handleClick} variant="contained">Click</Button>
			<Icon name="box" color="primary" />
		</div>
	);
};

export default MyComponent;

Important

All the components that can be used and other documentation can be found at https://janis-commerce.github.io/ui-web

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages