decathlon-ui 0.1.4 → 0.1.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "decathlon-ui",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "description": "Biblioteca de componentes React Native com Storybook e documentação via GitHub Pages.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
@@ -1,11 +0,0 @@
1
- import { TextStyle, ViewStyle } from "react-native";
2
- import React from "react";
3
- export interface ButtonProps {
4
- title: string;
5
- onPress?: () => void;
6
- style?: ViewStyle;
7
- textStyle?: TextStyle;
8
- }
9
- export declare const Button: React.FC<ButtonProps>;
10
- export default Button;
11
- //# sourceMappingURL=Button.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/components/Button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAIL,SAAS,EACT,SAAS,EACV,MAAM,cAAc,CAAC;AAEtB,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB;AAED,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAWxC,CAAC;AAgBF,eAAe,MAAM,CAAC"}
@@ -1,19 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { Pressable, StyleSheet, Text, } from "react-native";
3
- export const Button = ({ title, onPress, style, textStyle, }) => {
4
- return (_jsx(Pressable, { style: [styles.container, style], onPress: onPress, children: _jsx(Text, { style: [styles.text, textStyle], children: title }) }));
5
- };
6
- const styles = StyleSheet.create({
7
- container: {
8
- backgroundColor: "#1e90ff",
9
- paddingVertical: 12,
10
- paddingHorizontal: 24,
11
- borderRadius: 4,
12
- alignItems: "center",
13
- },
14
- text: {
15
- color: "#ffffff",
16
- fontWeight: "600",
17
- },
18
- });
19
- export default Button;
File without changes
File without changes