Skip to content

Commit

Permalink
Add icons page to react-icons package readme
Browse files Browse the repository at this point in the history
  • Loading branch information
pavinduLakshan committed Jul 11, 2023
1 parent d497af4 commit fa3f949
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
dist
tmp
/out-tsc
.next
next-env.d.ts

# dependencies
node_modules
Expand Down
16 changes: 13 additions & 3 deletions packages/react-icons/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,23 @@

## Installation

With npm

```bash
# With npm
npm install @oxygen-ui/react-icons
```

With pnpm

# With pnpm
```bash
pnpm add @oxygen-ui/react-icons
```

# With yarn
With yarn

```bash
yarn add @oxygen-ui/react-icons
```

## Usage

Expand All @@ -43,6 +51,8 @@ The `@oxygen-ui/react-icons` package exports all the available icons as React co
- `ChevronRightIcon`
- ... and more!

> View all available icons at https://wso2.github.io/oxygen-ui/react/?path=/docs/icons-icons-%F0%9F%9A%A7--page.
Each icon component accepts the following props:

- `aria-label`: The aria label to be used for the icon.
Expand Down

0 comments on commit fa3f949

Please sign in to comment.