@ubie/ubie-icons-native
v1.0.3
Published
Icons used in Ubie native apps.
Downloads
441
Readme
Ubie Icons
Storybook: https://ubie-oss.github.io/ubie-icons/storybook-static/
Installation
Web
// with npm
npm install @ubie/ubie-icons
// with yarn
yarn add @ubie/ubie-icons
React Native
// with npm
npm install @ubie/ubie-icons react-native-svg
// with yarn
yarn add @ubie/ubie-icons react-native-svg
Usage
Web
import { Twitter } from '@ubie/ubie-icons';
export const TwitterButton = () => (
<button type="button">
<Twitter />
Twitter
</button>
);
React Native
import { Twitter } from '@ubie/ubie-icons/native';
export const TwitterButton = () => (
<button type="button">
<Twitter />
Twitter
</button>
);
currentColor
is set for the icon's path, so you can change the color using CSS.
License
This icon set is licensed under the MIT License.