Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Example usage with react-native-vector-icons #15

Open
okwasniewski opened this issue Oct 7, 2024 · 1 comment
Open

Add Example usage with react-native-vector-icons #15

okwasniewski opened this issue Oct 7, 2024 · 1 comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@okwasniewski
Copy link
Owner

React Native Vector Icons allow users to retrieve the source of the icon.

Goal of this issue is to add new example & section in docs to outline how to use React native vector icons:

import Icon from 'react-native-vector-icons/Ionicons';

const navIcon = Icon.getImageSourceSync('md-arrow-back', 24, 'white');
const overflowIcon = Icon.getImageSourceSync('md-more', 24, 'white');
const settingsIcon = Icon.getImageSourceSync('md-settings', 30, 'white');
const twitterIcon = Icon.getImageSourceSync('logo-twitter', 25, '#4099FF');
@okwasniewski okwasniewski added the enhancement New feature or request label Oct 7, 2024
@fredrikburmester
Copy link

How can I use @expo/vector-icons?

@okwasniewski okwasniewski added the documentation Improvements or additions to documentation label Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants