Integrasi Map Business
Add:
components/Map/MapSelected.tsx
components/_ShareComponent/GridTwoView.tsx
service/api-client/api-maps.ts
utils/openInDeviceMaps.ts
Fix:
modified: app/(application)/(user)/maps/[id]/edit.tsx
modified: app/(application)/(user)/maps/create.tsx
modified: app/(application)/(user)/maps/index.tsx
modified: app/(application)/(user)/portofolio/[id]/index.tsx
modified: components/Map/MapCustom.tsx
modified: screens/Portofolio/BusinessLocationSection.tsx
modified: screens/Portofolio/DataPortofolio.tsx
modified: screens/Portofolio/ListPage.tsx
### No issue
This commit is contained in:
29
components/_ShareComponent/GridTwoView.tsx
Normal file
29
components/_ShareComponent/GridTwoView.tsx
Normal file
@@ -0,0 +1,29 @@
|
||||
import { StyleProp, ViewStyle } from "react-native";
|
||||
import Grid from "../Grid/GridCustom";
|
||||
|
||||
export default function GridTwoView({
|
||||
spanLeft = 6,
|
||||
spanRight = 6,
|
||||
leftIcon,
|
||||
rightIcon,
|
||||
styleLeft,
|
||||
styleRight,
|
||||
}: {
|
||||
spanLeft?: number;
|
||||
spanRight?: number;
|
||||
leftIcon?: React.ReactNode;
|
||||
rightIcon?: React.ReactNode;
|
||||
styleLeft?: StyleProp<ViewStyle>;
|
||||
styleRight?: StyleProp<ViewStyle>;
|
||||
}) {
|
||||
return (
|
||||
<Grid containerStyle={{ marginBottom: 0 }}>
|
||||
<Grid.Col span={spanLeft} style={{ justifyContent: "center" }}>
|
||||
{leftIcon}
|
||||
</Grid.Col>
|
||||
<Grid.Col span={spanRight} style={{ justifyContent: "center" }}>
|
||||
{rightIcon}
|
||||
</Grid.Col>
|
||||
</Grid>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user