Comments (5)
I just noticed that exponent has it's own vector icons library. Any pointers as to what I need to change in the api to work with the exponent icon set? Do I need to check to see if the app is running exponent and then import { } from '@exponent/vector-icons'
if so?
from react-native-elements.
@dabit3 - already made this work and submitted a PR :) Basically, users will need to install an Exponent fork of react-native-vector-icons which calls out to @exponent/vector-icons
. I'll try to think of a better longterm solution, but this should be good for now.
from react-native-elements.
Wow thanks, this looks great. I'll be looking more into Exponent so I can understand how it works to make future features compatible. Also may do a blog post about rapid prototyping with this library + Exponent for a talk I'm giving next week about R N for Web Developers at Northeast JS Conference, so I'm glad it now will already work with Exponent.
One final question, can you explain some of the changes in package.json if you have a moment. I'm still trying to wrap my head around what is and isn't necessary there for a project like this.
Again, thanks for this pr.
from react-native-elements.
When I created this, I was really building a boilerplate, which was using Lato as the font. I then pulled the elements out and moved them into this project when I created it. I too def think it's better to default to a system font and I have been considering what to do, glad to get this feedback.
Question, I also have react-native-vector-icons as a dependency. Will Exponent work with react-native-vector-icons when I replace Lato with a system font?
from react-native-elements.
Hey, never mind about the explanations about package.json, I see you left some feedback in the pull request!
from react-native-elements.
Related Issues (20)
- React Native CLI invalid documentation link
- FAB when rendered on web Warning: validateDOMNesting(...): <button> cannot appear as a descendant of <button>. HOT 4
- import { styled } from '@rneui/themed' doesn't work HOT 2
- Feature Request - Animated Shrink Button with Loading Indicator
- Avatar ignoring resize mode on initial load HOT 18
- ButtonGroup fails on iOS Expo Dev Client HOT 1
- Feature request - Circular progress component
- The documentation sidebar is not taking the correct height on mobile screens.
- The search glass is not available in Chrome browser
- Dialog.Title does not honor Dark mode text color HOT 3
- SpeedDial cant work in web platform,cuz ``` [...new Array(React.Children.count(children))]``` will returned ```[empty × 2]``` HOT 2
- NPM version missmatch for @rneui/themed's peerDeps/devDeps HOT 1
- Unable to import styled helper HOT 1
- ref prop is not working for Button component of New React native element lib (@rneui/base & @rneui/themed) HOT 2
- Upgrade Expo version for Expo demo HOT 1
- [Feature Request] For web renders, let `Icon` and `Chip` render as `<button>` only if it needs to be clickable HOT 1
- Latest @rneui/themed has incorrect peer and dev dependency HOT 2
- SearchBar has no Cancel button on iOS HOT 3
- TextProps are extended by ListItem.Content instead of ListItem.Title
- Show default image when source load fail HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-elements.