Files
hipmi-mobile/components/_ShareComponent/Spacing.tsx
Bagasbanuna02 814f261881 Deskripsi:
Event:
Add history detail
Fix : - nama variabel pada [id]/

Component
Fix:
- Spacing : tipe data num | str
- ScrollView : tambah background

# No Issue "
2025-07-22 14:56:29 +08:00

15 lines
355 B
TypeScript

// src/components/Spacing.tsx
import React from "react";
import { View } from "react-native";
interface SpacingProps {
width?: number | string;
height?: number | string;
}
const Spacing: React.FC<SpacingProps> = ({ width = 20, height = 20 }) => {
return <View style={{ height: height as any, width: width as any }} />;
};
export default Spacing;