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,19 +1,19 @@
/* eslint-disable @typescript-eslint/no-unused-vars */
import {
ButtonCustom,
Grid,
SelectCustom,
Spacing,
StackCustom,
TextAreaCustom,
TextCustom,
TextInputCustom,
ViewWrapper,
BoxButtonOnFooter,
ButtonCenteredOnly,
ButtonCustom,
Grid,
InformationBox,
LandscapeFrameUploaded,
SelectCustom,
Spacing,
StackCustom,
TextAreaCustom,
TextCustom,
TextInputCustom,
ViewWrapper,
} 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 dummyMasterBidangBisnis from "@/lib/dummy-data/master-bidang-bisnis";
import dummyMasterSubBidangBisnis from "@/lib/dummy-data/master-sub-bidang-bisnis";
@@ -101,7 +101,7 @@ export default function PortofolioCreate() {
</TouchableOpacity>
</Grid.Col>
</Grid>
<ButtonCenteredOnly onPress={() => console.log("add")}>
Tambah Pilihan
</ButtonCenteredOnly>

View File

@@ -27,7 +27,7 @@ type Props = {
maxLength?: number;
} & Omit<React.ComponentProps<typeof RNTextInput>, "style">;
export const TextInputCustom = ({
const TextInputCustom = ({
iconLeft,
iconRight,
label,
@@ -127,3 +127,5 @@ export const TextInputCustom = ({
</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
import TextCustom from "./Text/TextCustom";
// TextInput
import { TextInputCustom } from "./TextInput/TextInputCustom";
import TextInputCustom from "./TextInput/TextInputCustom";
// TextArea
import TextAreaCustom from "./TextArea/TextAreaCustom";
// Grid
import Grid from "./Grid/GridCustom";
// Box
import BaseBox from "./Box/BaseBox";
// Avatar
import AvatarCustom from "./Image/AvatarCustom";
import BoxButtonOnFooter from "./Box/BoxButtonOnFooter";
import InformationBox from "./Box/InformationBox";
// Stack
import StackCustom from "./Stack/StackCustom";
// Select
import SelectCustom from "./Select/SelectCustom";
// Image
import AvatarCustom from "./Image/AvatarCustom";
import LandscapeFrameUploaded from "./Image/LandscapeFrameUploaded";
export {
AlertCustom,
// Avatar
// Image
AvatarCustom,
LandscapeFrameUploaded,
// Button
LeftButtonCustom as BackButton,
// Box
BaseBox, ButtonCenteredOnly, ButtonCustom, ButtonUpload,
BaseBox,
ButtonCenteredOnly,
ButtonCustom,
ButtonUpload,
BoxButtonOnFooter,
InformationBox,
// Drawer
DrawerCustom,
// Grid
Grid, MenuDrawerDynamicGrid,
Grid,
MenuDrawerDynamicGrid,
// Select
SelectCustom,
// ShareComponent
@@ -53,6 +64,5 @@ export {
// TextInput
TextInputCustom,
// ViewWrapper
ViewWrapper
ViewWrapper,
};