native-pytech 1.0.61 → 1.0.63

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.
@@ -1,4 +1,4 @@
1
- import colors, { sizesType } from '../../constants';
1
+ import { sizesType, Colors } from '../../constants';
2
2
  import IconProps from '../Icon/types';
3
3
  export type Props = Omit<IconProps, 'size'> & {
4
4
  /**
@@ -10,7 +10,7 @@ export type Props = Omit<IconProps, 'size'> & {
10
10
  The color of the gradient.
11
11
  @default 'default'
12
12
  */
13
- color?: keyof typeof colors;
13
+ color?: Colors;
14
14
  /**
15
15
  The size of the gradient.
16
16
  @default 'small'
@@ -80,6 +80,7 @@ export declare const colors: {
80
80
  light: string;
81
81
  };
82
82
  };
83
+ export type Colors = keyof typeof colors;
83
84
  declare const diameterCircle: {
84
85
  small: number;
85
86
  medium: number;
@@ -1,3 +1,3 @@
1
- export { sizes, colors } from './constants';
1
+ export { sizes, colors, Colors } from './constants';
2
2
  export { Props } from './components/Gradient/types';
3
3
  export { default } from './components/Gradient';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "native-pytech",
3
- "version": "1.0.61",
3
+ "version": "1.0.63",
4
4
  "description": "Libreria de React Native Pytech",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",