@gympass/yoga-illustrations
Version:
Yoga illustrations package
26 lines (15 loc) • 692 B
Markdown
# Yoga Illustrations
## Instalation
```sh
yarn add @gympass/yoga-illustrations
```
`@gympass/yoga-illustrations` is a package containing all illustrations used in `@gympass/yoga` package.
### React native
To use in `react-native` make sure you have installed [react-native-svg](https://github.com/react-native-community/react-native-svg).
## Usage
Icon works out of the box for both platforms.
```jsx
import { Img2d11 } from '@gympass/yoga-illustrations';
export default () => <Img2d11 />;
```
Here you can check an example in [web](https://gympass.github.io/yoga/components/illustrations#web) and [native](https://gympass.github.io/yoga/components/illustrations#native) platforms.