fix
deksripsi: - fix Text input exported
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
import { TextInputCustom } from "./TextInputCustom";
|
||||
|
||||
export { TextInputCustom };
|
||||
@@ -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,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user