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
30 lines
697 B
TypeScript
30 lines
697 B
TypeScript
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>
|
|
);
|
|
}
|