Skip to content

Commit 0296fbd

Browse files
committed
fix typo 2
1 parent a581255 commit 0296fbd

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/index.tsx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import {
1919
ImageStyle,
2020
TouchableWithoutFeedback,
2121
LayoutChangeEvent,
22-
Stylesheet,
22+
StyleSheet,
2323
} from 'react-native';
2424
import Animated, {
2525
EasingNode,
@@ -219,7 +219,7 @@ const FloatingLabelInput: React.ForwardRefRenderFunction<InputRef, Props> = (
219219
const [secureText, setSecureText] = useState(true);
220220
const inputRef = useRef<any>(null);
221221

222-
customLabelStyles = Stylesheet.flatten([
222+
customLabelStyles = StyleSheet.flatten([
223223
{
224224
fontSizeFocused: 10,
225225
fontSizeBlurred: 14,
@@ -502,7 +502,7 @@ const FloatingLabelInput: React.ForwardRefRenderFunction<InputRef, Props> = (
502502
? customShowPasswordImage || makeVisibleWhite
503503
: customHidePasswordImage || makeInvisibleWhite;
504504

505-
const style: TextStyle = Stylesheet.flatten([
505+
const style: TextStyle = StyleSheet.flatten([
506506
setGlobalStyles?.labelStyles,
507507
labelStyles,
508508
{
@@ -538,7 +538,7 @@ const FloatingLabelInput: React.ForwardRefRenderFunction<InputRef, Props> = (
538538
? setGlobalStyles.inputStyles
539539
: styles.input;
540540

541-
input = Stylesheet.flatten([
541+
input = StyleSheet.flatten([
542542
input,
543543
{
544544
flex: 1,
@@ -555,7 +555,7 @@ const FloatingLabelInput: React.ForwardRefRenderFunction<InputRef, Props> = (
555555
? setGlobalStyles?.containerStyles
556556
: styles.container;
557557

558-
containerStyles = Stylesheet.flatten([
558+
containerStyles = StyleSheet.flatten([
559559
containerStyles,
560560
{
561561
alignItems: 'center',
@@ -572,7 +572,7 @@ const FloatingLabelInput: React.ForwardRefRenderFunction<InputRef, Props> = (
572572
? setGlobalStyles.showPasswordContainerStyles
573573
: styles.toggleButton;
574574

575-
toggleButton = Stylesheet.flatten([
575+
toggleButton = StyleSheet.flatten([
576576
toggleButton,
577577
{
578578
alignSelf: 'center',
@@ -586,15 +586,15 @@ const FloatingLabelInput: React.ForwardRefRenderFunction<InputRef, Props> = (
586586
? setGlobalStyles.showPasswordImageStyles
587587
: styles.img;
588588

589-
img = Stylesheet.flatten([
589+
img = StyleSheet.flatten([
590590
{
591591
height: 25,
592592
width: 25,
593593
},
594594
img,
595595
]);
596596

597-
const countdown = Stylesheet.flatten([
597+
const countdown = StyleSheet.flatten([
598598
styles.countdown,
599599
setGlobalStyles?.showCountdownStyles,
600600
showCountdownStyles,

0 commit comments

Comments
 (0)