aport-tools 3.0.5 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -2
- package/dist/components/Button.d.ts +12 -0
- package/dist/index.esm.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
@@ -1,7 +1,9 @@
|
|
1
1
|
```markdown
|
2
2
|
# aport-tools
|
3
3
|
|
4
|
-
A customizable React Native
|
4
|
+
A customizable React Native components with testing purposes
|
5
|
+
|
6
|
+
### I do not recommend using this package in production. Happy to receive help and advice
|
5
7
|
|
6
8
|
## Installation
|
7
9
|
|
@@ -9,7 +11,7 @@ To install the latest version of aport-tools, run the following command:
|
|
9
11
|
```
|
10
12
|
|
11
13
|
```bash
|
12
|
-
npm i aport-tools
|
14
|
+
npm i aport-tools
|
13
15
|
```
|
14
16
|
|
15
17
|
License
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
interface ButtonProps {
|
3
|
+
disabled?: boolean;
|
4
|
+
isFullWidth?: boolean;
|
5
|
+
children?: string;
|
6
|
+
onPress?: () => void;
|
7
|
+
rounded?: boolean;
|
8
|
+
borderRadius?: number;
|
9
|
+
type?: 'submit' | 'button' | 'cancel';
|
10
|
+
}
|
11
|
+
declare const Button: React.FC<ButtonProps>;
|
12
|
+
export default Button;
|
package/dist/index.esm.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
/*! aport-tools
|
1
|
+
/*! aport-tools v4.0.0 | ISC */
|
2
2
|
import React, { createContext, useState, useEffect, useContext } from 'react';
|
3
3
|
import { Appearance, StyleSheet, View, Text, Switch } from 'react-native';
|
4
4
|
import { useAsyncStorage } from '@react-native-async-storage/async-storage';
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "aport-tools",
|
3
|
-
"version": "
|
3
|
+
"version": "4.0.0",
|
4
4
|
"description": "Aport mobile Tools with modern and minimalistic design",
|
5
5
|
"main": "dist/index.js",
|
6
6
|
"module": "dist/index.esm.js",
|
@@ -11,7 +11,7 @@
|
|
11
11
|
"exports": {
|
12
12
|
"./Theme": "./dist/Theme/index.js",
|
13
13
|
"./Theme/*": "./dist/Theme/*.js",
|
14
|
-
"
|
14
|
+
"./buttons": "./dist/buttons/index.js"
|
15
15
|
},
|
16
16
|
"scripts": {
|
17
17
|
"build": "rollup -c rollup.config.mjs",
|