Skip to content

Commit db27aea

Browse files
committed
v2.0.0-rc.1
1 parent 2f6969d commit db27aea

File tree

28 files changed

+29
-18
lines changed

28 files changed

+29
-18
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tra-tech/react-native-kitra",
3-
"version": "2.0.0-rc.0",
3+
"version": "2.0.0-rc.1",
44
"description": "UI kit for React Native",
55
"main": "lib/commonjs/index",
66
"module": "lib/module/index",

src/components/AccordionList/AccordionList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { cloneElement, useState } from 'react';
1+
import React, { cloneElement, useState } from 'react';
22
import { FlatList, StyleSheet, Text, TouchableOpacity, View } from 'react-native';
33
import Animated, { FadeInUp, FadeOut, useAnimatedStyle, useSharedValue, withTiming } from 'react-native-reanimated';
44
import useComponentTheme from '../../core/hooks/useComponentTheme';

src/components/ActivityIndicator/ActivityIndicator.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { StyleSheet, View, ActivityIndicator as RNActivityIndicator } from 'react-native';
2+
import React from 'react';
23
import useComponentTheme from '../../core/hooks/useComponentTheme';
34
import type { ActivityIndicatorProps, FCCWD } from '../../types';
45
import { opacity } from '../../utilities';

src/components/Avatar/Avatar.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { Image, View, Text } from 'react-native';
2+
import React from 'react';
23
import useComponentTheme from '../../core/hooks/useComponentTheme';
34
import type { AvatarProps, FCCWD } from '../../types';
45
import { applyDefaults } from '../../core/KitraProvider';

src/components/Avatar/AvatarGroup.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { View, Text } from 'react-native';
2+
import React from 'react';
23
import useComponentTheme from '../../core/hooks/useComponentTheme';
34
import type { AvatarGroupProps, FCCWD } from '../../types';
45
import { applyDefaults } from '../../core/KitraProvider';

src/components/Badge/Badge.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Text, StyleSheet, View } from 'react-native';
22
import Animated, { FadeIn, FadeOut } from 'react-native-reanimated';
3-
import { useState } from 'react';
3+
import React from 'react';
44
import useComponentTheme from '../../core/hooks/useComponentTheme';
55
import type { BadgeProps, FCCWD } from '../../types';
66
import { applyDefaults } from '../../core/KitraProvider';
@@ -52,6 +52,7 @@ const Badge: FCCWD<BadgeProps> = (
5252
borderRadius: 3,
5353
},
5454
};
55+
5556
return (
5657
<View style={[containerStyle, { backgroundColor: 'transparent', alignSelf: 'baseline' }]}>
5758
{visible ? (

src/components/CheckBox/CheckBox.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { useEffect, useState } from 'react';
1+
import React, { useEffect, useState } from 'react';
22
import { StyleSheet, TouchableOpacity, TouchableOpacityProps } from 'react-native';
33
import Animated, { interpolateColor, useAnimatedStyle, useSharedValue, withTiming } from 'react-native-reanimated';
44
import useComponentTheme from '../../core/hooks/useComponentTheme';

src/components/Chip/Chip.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import Animated, { interpolateColor, useAnimatedStyle, useSharedValue, withTimin
44
import useComponentTheme from '../../core/hooks/useComponentTheme';
55
import type { ChipProps, FCCWD } from '../../types';
66
import { applyDefaults } from '../../core/KitraProvider';
7-
import Icon from '../Icons/Icon';
87

98
const AnimatedTouchableOpacity = Animated.createAnimatedComponent(TouchableOpacity);
109

src/components/Divider/Divider.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { StyleSheet, View, ViewProps } from 'react-native';
2+
import React from 'react';
23
import useComponentTheme from '../../core/hooks/useComponentTheme';
34
import type { DividerProps, FCCWD } from '../../types';
45
import { applyDefaults } from '../../core/KitraProvider';

src/components/Dropdown/Dropdown.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* eslint-disable no-unsafe-optional-chaining */
2-
import { useEffect, useLayoutEffect, useMemo, useRef, useState } from 'react';
2+
import React, { useEffect, useLayoutEffect, useMemo, useRef, useState } from 'react';
33
import { Dimensions, StyleSheet, Text, TouchableOpacity, View } from 'react-native';
44
import Animated, { FadeIn, FadeOut, useAnimatedStyle, useSharedValue, withSpring } from 'react-native-reanimated';
55
import { ScrollView } from 'react-native-gesture-handler';

0 commit comments

Comments
 (0)