@_alexalbu/kraftie-components
Version:
Kraftie Components Library
34 lines (22 loc) • 797 B
Markdown
A library of reusable components for building user interfaces, used in the context of a college project.
1. Install the library using npm:
`npm install @_alexalbu/kraftie-components`
`yarn add @_alexalbu/kraftie-components`
2. Import the components you need in your application:
`import { Button, Input, Theme, Typography } from '@_alexalbu/kraftie-components';`
3. Example
```
import React from 'react';
import { Button } from 'my-library';
function App() {
return <Button>Click me!</Button>;
}
export default App;
```
- The library uses styled-components to handle styling of components.
- The library uses prop-types for type checking of props.
We welcome contributions to the library.