Skip to content

Commit 108ac53

Browse files
Merge pull request #55 from SimformSolutionsPvtLtd/refactor/UNT-T23489_audit_changes_for_version_1.4.1
refactor: UNT-T23489: refactor and documentation update for version 1.4.1
2 parents 730c695 + 052018a commit 108ac53

31 files changed

+44
-43
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2018 Rupal
3+
Copyright (c) 2018 Simform Solutions
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

example/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ local.properties
3939
node_modules/
4040
npm-debug.log
4141
yarn-error.log
42+
yarn.lock
43+
package-lock.json
4244

4345
# fastlane
4446
#

example/global.d.ts

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/components/AnimatableView/types.ts renamed to src/components/AnimatableView/AnimatableTypes.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
import type { ColorValue } from 'react-native';
2-
import type { SpinnerOptionsProp } from '../../components';
2+
import type { SpinnerOptionsProp } from '..';
33

44
export type SpinnerType =
5-
| 'barindicator'
6-
| 'dotindicator'
7-
| 'materialindicator'
8-
| 'pacmanindicator'
9-
| 'pulseindicator'
10-
| 'skypeindicator'
11-
| 'uiactivityindicator'
12-
| 'waveindicator';
5+
| 'BarIndicator'
6+
| 'DotIndicator'
7+
| 'MaterialIndicator'
8+
| 'PacmanIndicator'
9+
| 'PulseIndicator'
10+
| 'SkypeIndicator'
11+
| 'UIActivityIndicator'
12+
| 'WaveIndicator';
1313

1414
export type CommonViewProps = {
1515
children: JSX.Element;

src/components/AnimatableView/AnimatableView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React from 'react';
22
import * as Animatable from 'react-native-animatable';
33
import { SpinnerComponent } from '../../components';
4-
import type { AnimatableViewProps } from './types';
4+
import type { AnimatableViewProps } from './AnimatableTypes';
55
import { SpinnerButtonStyle } from '../../styles';
66

77
const AnimatableView: React.FC<AnimatableViewProps> = ({
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
export { default as AnimatableView } from './AnimatableView';
2-
export * from './types';
2+
export * from './AnimatableTypes';

src/components/AnimatedView/types.ts renamed to src/components/AnimatedView/AnimatedTypes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { ViewStyle, Animated } from 'react-native';
2-
import type { CommonViewProps } from '../../components';
2+
import type { CommonViewProps } from '..';
33

44
export type AnimatedStyle = Animated.WithAnimatedValue<ViewStyle>;
55

src/components/AnimatedView/AnimatedView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React from 'react';
22
import { Animated } from 'react-native';
33
import { SpinnerComponent } from '../../components';
4-
import type { AnimatedViewProps } from './types';
4+
import type { AnimatedViewProps } from './AnimatedTypes';
55
import { SpinnerButtonStyle } from '../../styles';
66

77
const AnimatedView: React.FC<AnimatedViewProps> = ({
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
export { default as AnimatedView } from './AnimatedView';
2-
export * from './types';
2+
export * from './AnimatedTypes';

src/components/Button/Button.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from 'react';
22
import { RippleButton } from '../RippleButton';
3-
import type { ButtonProps } from './types';
3+
import type { ButtonProps } from './ButtonTypes';
44

55
const Button: React.FC<ButtonProps> = ({
66
style,

0 commit comments

Comments
 (0)