Skip to content

Commit

Permalink
Fixed icon prop and prepare for release to npm
Browse files Browse the repository at this point in the history
  • Loading branch information
snehilvj committed Jan 22, 2022
1 parent 170be6a commit 320828d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ Dash Iconify based on Iconify is a Dash component library which brings over 100,

## Table of contents

- [Dash Iconify](#dash-iconify)
- [Installation](#installation)
- [Quickstart](#quickstart)
- [Using with dmc](#using-with-dmc)
Expand All @@ -26,8 +25,8 @@ app = Dash(__name__)

app.layout = DashIconify(
icon="ion:logo-github",
width=512,
height=512,
width=30,
height=30,
rotate=1,
flip="horizontal",
)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dash_iconify",
"version": "0.0.1",
"version": "0.1.0",
"description": "Iconify for Plotly Dash",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/DashIconify.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ DashIconify.propTypes = {
* prefix is name of icon set.
* name is name of icon.
*/
icon: PropTypes.string,
icon: PropTypes.string.isRequired,

/**
* The ID used to identify this component in Dash callbacks.
Expand Down

0 comments on commit 320828d

Please sign in to comment.