Skip to content

Commit

Permalink
docs: added ru readme
Browse files Browse the repository at this point in the history
  • Loading branch information
vvtimofeev committed Dec 24, 2024
1 parent 3de154d commit dce5e95
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions README-ru.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# @gravity-ui/icons · [![npm package](https://img.shields.io/npm/v/@gravity-ui/icons)](https://www.npmjs.com/package/@gravity-ui/icons) [![CI](https://img.shields.io/github/actions/workflow/status/gravity-ui/icons/.github/workflows/ci.yml?branch=main&label=CI&logo=github)](https://github.com/gravity-ui/icons/actions/workflows/ci.yml?query=branch:main) [![storybook](https://img.shields.io/badge/Storybook-deployed-ff4685)](https://preview.gravity-ui.com/icons/)

Пакет иконок Gravity UI. Иконки доступны в двух форматах: SVG и React. Примеры можно найти на [этой странице](https://preview.gravity-ui.com/icons/).

## Установка

```shell
npm install --save-dev @gravity-ui/icons
```

## Использование

### React

```js
import Cloud from '@gravity-ui/icons/Cloud';
```

или

```js
import {Cloud} from '@gravity-ui/icons';
```

### SVG

> Для работы с SVG-форматом может потребоваться соответствующий загрузчик.
```js
import cloudIcon from '@gravity-ui/icons/svgs/cloud.svg';
```

0 comments on commit dce5e95

Please sign in to comment.