Skip to content

Commit

Permalink
chore(lib): update readme and bump package version
Browse files Browse the repository at this point in the history
  • Loading branch information
rektdeckard committed Feb 27, 2022
1 parent bca1050 commit 4526103
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ Icon components accept all props that you can pass to a normal SVG element, incl
- **size?**: `number | string` – Icon height & width. As with standard React elements, this can be a number, or a string with units in `px`, `%`, `em`, `rem`, `pt`, `cm`, `mm`, `in`.
- **weight?**: `"thin" | "light" | "regular" | "bold" | "fill" | "duotone"` – Icon weight/style. Can also be used, for example, to "toggle" an icon's state: a rating component could use Stars with `weight="regular"` to denote an empty star, and `weight="fill"` to denote a filled star.
- **mirrored?**: `boolean` – Flip the icon horizontally. Can be useful in RTL languages where normal icon orientation is not appropriate.
- **alt?**: `string` – Add accessible alt text to an icon.

### Context

Expand Down
1 change: 1 addition & 0 deletions example/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ const App = () => {
color={color}
style={{ verticalAlign: "middle" }}
weight="fill"
alt="heart symbol"
/>{" "}
from Bub Tub.
</p>
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": "phosphor-react",
"version": "1.4.0",
"version": "1.4.1",
"description": "A clean and friendly icon family for React",
"author": "rektdeckard",
"license": "MIT",
Expand Down

0 comments on commit 4526103

Please sign in to comment.