-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Library is tested and ready to deploy
- Loading branch information
1 parent
1d61b1a
commit a1ff188
Showing
62 changed files
with
3,774 additions
and
3,193 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
module.exports = { | ||
root: true, | ||
extends: '@react-native-community', | ||
parser: '@typescript-eslint/parser', | ||
plugins: ['@typescript-eslint'], | ||
}; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,6 +29,10 @@ build/ | |
local.properties | ||
*.iml | ||
|
||
# Visual Studio Code | ||
# | ||
.vscode/ | ||
|
||
# node.js | ||
# | ||
node_modules/ | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
import React from "react"; | ||
import { StyleSheet, View } from "react-native"; | ||
import { Card, SimpleCard } from "@paraboly/react-native-card"; | ||
|
||
export default class App extends React.Component { | ||
render() { | ||
return ( | ||
<View style={styles.container}> | ||
<Card | ||
title="Title" | ||
onPress={() => {}} | ||
borderRadius={20} | ||
containerHeight={100} | ||
topRightText="50/306" | ||
bottomRightText="30 km" | ||
iconBackgroundColor="#fcd" | ||
textContainerNumberOfLines={3} | ||
description="Nullam quis risus eget urna mollis ornare vel eu leo. Curabitur blandit tempus porttitor. Donec sed odio dui." | ||
topRightTextStyle={{ | ||
fontSize: 12, | ||
fontWeight: "700", | ||
color: "#505e80", | ||
}} | ||
bottomRightTextStyle={{ | ||
fontSize: 16, | ||
fontWeight: "bold", | ||
color: "#505e80", | ||
}} | ||
/> | ||
|
||
<View | ||
style={{ | ||
marginTop: 16, | ||
alignItems: "center", | ||
flexDirection: "column", | ||
}} | ||
> | ||
<SimpleCard text="Dynamic width & height simple card" /> | ||
<View style={{ marginTop: 16 }}> | ||
<SimpleCard | ||
text="Custom width & dynamic height simple card: Multiple Lines" | ||
style={{ width: 200 }} | ||
/> | ||
</View> | ||
<View style={{ marginTop: 16 }}> | ||
<SimpleCard text="Dynamic width & height simple card: Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s" /> | ||
</View> | ||
</View> | ||
</View> | ||
); | ||
} | ||
} | ||
|
||
const styles = StyleSheet.create({ | ||
container: { | ||
flex: 1, | ||
alignItems: "center", | ||
backgroundColor: "#fff", | ||
justifyContent: "center", | ||
}, | ||
}); |
File renamed without changes.
File renamed without changes.
Oops, something went wrong.