paraboly / react-native-card Goto Github PK
View Code? Open in Web Editor NEWFully customizable Card View Components for React Native.
Home Page: http://www.paraboly.com
License: MIT License
Fully customizable Card View Components for React Native.
Home Page: http://www.paraboly.com
License: MIT License
I am getting this error in vscode. I can't find type definitions.
I'm trying to set the icon at the left of the card
I've tried a few different icons and libraries but can only get either a question mark or a square with a cross in it
Even copying the example code from the docs is giving me this result.
I've copied my package.json below in case I have missed any imports
{
"name": "CardTesting",
"version": "0.0.1",
"private": true,
"scripts": {
"android": "react-native run-android",
"ios": "react-native run-ios",
"start": "react-native start",
"test": "jest",
"lint": "eslint ."
},
"dependencies": {
"@freakycoder/react-native-bounceable": ">= 0.2.4",
"@paraboly/react-native-card": "^1.0.3",
"react": "18.1.0",
"react-entypo-icons": "^1.4.1",
"react-native": "0.70.6",
"react-native-androw": "^0.0.34",
"react-native-dynamic-vector-icons": ">= 1.1.4",
"react-native-ionicons": "^4.6.5",
"react-native-vector-icons": ">= 7.1.0"
},
"devDependencies": {
"@babel/core": "^7.12.9",
"@babel/runtime": "^7.12.5",
"@react-native-community/eslint-config": "^2.0.0",
"babel-jest": "^26.6.3",
"eslint": "^7.32.0",
"jest": "^26.6.3",
"metro-react-native-babel-preset": "0.72.3"
},
"jest": {
"preset": "react-native"
}
}
When I run the app, i get two logs returned in metro
LOG Running "CardTesting" with {"rootTag":1}
LOG s
I can see it inside node_modules.
But it returns;
Unable to resolve "react-native-androw" from "node_modules/@paraboly/react-native-card/build/dist/components/Card/Card.js"
error.
what could be the problem?
Im using Expo, I have require dependencies:
...
"@freakycoder/react-native-bounceable": "^0.2.4",
"@paraboly/react-native-card": "github:Paraboly/react-native-card#expo",
...
But Im getting the following error:
While trying to resolve module `@paraboly/react-native-card` from file `C:\Users\App\src\screens\Home\index.js`, the package `C:\Users\App\node_modules\@paraboly\react-native-card\package.json` was successfully found. However, this package itself specifies a `main` module field that could not be resolved (`C:\Users\App\node_modules\@paraboly\react-native-card\build\dist\index.js`. Indeed, none of these files exist:
C:\Users\App\node_modules\@paraboly\react-native-card\build\dist\index.js
I'd really appreciate dynamic height being implemented on the Card component!
It's implemented on the "SimpleCard" but not in the "Card" one.
The idea is basically adjusting the height of the card depending on the size of the content inside.
Thanks!
Hey! I found that color area super cool without an icon, but I'm not sure how to use it without an icon and getting a warning in the console.
Plus, I'm not sure why, but the icon is way off the center, don't know how to fix that either.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.