Skip to content

Commit

Permalink
rel: v1.2.0 (Thanks @AbhinavRajesh)
Browse files Browse the repository at this point in the history
  • Loading branch information
nan-dan-unni committed Nov 30, 2022
1 parent 5365d44 commit fb44eb3
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 5 deletions.
26 changes: 22 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@ A hybrid package of UI elements for ReactJS, from [void](https://github.com/void

<br />

## What's new (v1.0.2)
## What's new (v1.2.0)

- Reduced package size by 95%
- HTML Attributes for Input Components
- Password Input

<br />

Expand Down Expand Up @@ -34,15 +35,32 @@ import "void-design/lib/void.css";
import "void-design/lib/void.css";

import React from "react";
import { Input } from "void-design";
import { Input, Button, Snackbar } from "void-design";

const App = () => {
return (
<div>
<Input placeholder="Enter your name" />
<Input.Text name="name" placeholder="Enter your name" />
<Input.Password name="password" placeholder="Enter your name" />
<Button onClick={() => Snackbar.success("Form submitted!")}>
Submit
</Button>
</div>
);
};

export default App;
```

<br />

## Components

- Button
- Input
- Form
- Slider
- Snackbar
- Spinner
- Drawer
- Divider
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "void-design",
"version": "1.1.0",
"version": "1.2.0",
"description": "UI library from Void",
"main": "./lib/cjs/index.js",
"module": "./lib/esm/index.js",
Expand Down

0 comments on commit fb44eb3

Please sign in to comment.