@wb-hr-tech/react-component-library
v1.15.4
Published
<h1>React component Library</h1>
Downloads
12
Readme
Ui library for WB HR Tech department react projects P.S. Support only for users from the department above! Do not use versions lower than 1.2.0!
✨ Features
- 🌈 Built with Vite 5 version.
- 🛡 Written in React 17 + TypeScript + postCSS + Storybook.
- ⚙️ Components can be modified by className prop.
📦 Requirements
- React 17
- Hauss fonts included
@font-face {
font-family: "HaussBold";
src:
url("/fonts/als_hauss_bold.woff2") format("woff"),
url("/fonts/als_hauss_bold.woff") format("woff");
}
@font-face {
font-family: "HaussMedium";
src:
url("/fonts/als_hauss_medium.woff2") format("woff"),
url("/fonts/als_hauss_medium.woff") format("woff");
}
@font-face {
font-family: "HaussRegular";
src:
url("/fonts/als_hauss_regular.woff2") format("woff"),
url("/fonts/als_hauss_regular.woff") format("woff");
}
🔨 Usage
import { Button } from "@wb-hr-tech/react-component-library";
import '@wb-hr-tech/react-component-library/style.css';
export const App () => (
<Button dataQa="btn-registration" type="submit" loading={loading}>
Sign Up
</Button>
);