deksripsi:
- fix Text input exported
This commit is contained in:
2025-07-09 11:52:38 +08:00
parent 5c4dadbe7c
commit 2901d19db0
4 changed files with 35 additions and 26 deletions

View File

@@ -1,7 +1,11 @@
/* eslint-disable @typescript-eslint/no-unused-vars */ /* eslint-disable @typescript-eslint/no-unused-vars */
import { import {
BoxButtonOnFooter,
ButtonCenteredOnly,
ButtonCustom, ButtonCustom,
Grid, Grid,
InformationBox,
LandscapeFrameUploaded,
SelectCustom, SelectCustom,
Spacing, Spacing,
StackCustom, StackCustom,
@@ -10,10 +14,6 @@ import {
TextInputCustom, TextInputCustom,
ViewWrapper, ViewWrapper,
} from "@/components"; } from "@/components";
import BoxButtonOnFooter from "@/components/Box/BoxButtonOnFooter";
import InformationBox from "@/components/Box/InformationBox";
import ButtonCenteredOnly from "@/components/Button/ButtonCenteredOnly";
import LandscapeFrameUploaded from "@/components/Image/LandscapeFrameUploaded";
import { MainColor } from "@/constants/color-palet"; import { MainColor } from "@/constants/color-palet";
import dummyMasterBidangBisnis from "@/lib/dummy-data/master-bidang-bisnis"; import dummyMasterBidangBisnis from "@/lib/dummy-data/master-bidang-bisnis";
import dummyMasterSubBidangBisnis from "@/lib/dummy-data/master-sub-bidang-bisnis"; import dummyMasterSubBidangBisnis from "@/lib/dummy-data/master-sub-bidang-bisnis";

View File

@@ -27,7 +27,7 @@ type Props = {
maxLength?: number; maxLength?: number;
} & Omit<React.ComponentProps<typeof RNTextInput>, "style">; } & Omit<React.ComponentProps<typeof RNTextInput>, "style">;
export const TextInputCustom = ({ const TextInputCustom = ({
iconLeft, iconLeft,
iconRight, iconRight,
label, label,
@@ -127,3 +127,5 @@ export const TextInputCustom = ({
</View> </View>
); );
}; };
export default TextInputCustom;

View File

@@ -1,3 +0,0 @@
import { TextInputCustom } from "./TextInputCustom";
export { TextInputCustom };

View File

@@ -14,32 +14,43 @@ import ViewWrapper from "./_ShareComponent/ViewWrapper";
// Text // Text
import TextCustom from "./Text/TextCustom"; import TextCustom from "./Text/TextCustom";
// TextInput // TextInput
import { TextInputCustom } from "./TextInput/TextInputCustom"; import TextInputCustom from "./TextInput/TextInputCustom";
// TextArea // TextArea
import TextAreaCustom from "./TextArea/TextAreaCustom"; import TextAreaCustom from "./TextArea/TextAreaCustom";
// Grid // Grid
import Grid from "./Grid/GridCustom"; import Grid from "./Grid/GridCustom";
// Box // Box
import BaseBox from "./Box/BaseBox"; import BaseBox from "./Box/BaseBox";
// Avatar import BoxButtonOnFooter from "./Box/BoxButtonOnFooter";
import AvatarCustom from "./Image/AvatarCustom"; import InformationBox from "./Box/InformationBox";
// Stack // Stack
import StackCustom from "./Stack/StackCustom"; import StackCustom from "./Stack/StackCustom";
// Select // Select
import SelectCustom from "./Select/SelectCustom"; import SelectCustom from "./Select/SelectCustom";
// Image
import AvatarCustom from "./Image/AvatarCustom";
import LandscapeFrameUploaded from "./Image/LandscapeFrameUploaded";
export { export {
AlertCustom, AlertCustom,
// Avatar // Image
AvatarCustom, AvatarCustom,
LandscapeFrameUploaded,
// Button // Button
LeftButtonCustom as BackButton, LeftButtonCustom as BackButton,
// Box // Box
BaseBox, ButtonCenteredOnly, ButtonCustom, ButtonUpload, BaseBox,
ButtonCenteredOnly,
ButtonCustom,
ButtonUpload,
BoxButtonOnFooter,
InformationBox,
// Drawer // Drawer
DrawerCustom, DrawerCustom,
// Grid // Grid
Grid, MenuDrawerDynamicGrid, Grid,
MenuDrawerDynamicGrid,
// Select // Select
SelectCustom, SelectCustom,
// ShareComponent // ShareComponent
@@ -53,6 +64,5 @@ export {
// TextInput // TextInput
TextInputCustom, TextInputCustom,
// ViewWrapper // ViewWrapper
ViewWrapper ViewWrapper,
}; };