import {View, ViewProps} from 'react-native'
import React from 'react'
import {Utils} from 'tuya-panel-kit'

const cx = Utils.RatioUtils.convertX

interface SpacerProps extends ViewProps {
  width?: number
  height?: number
}

export default function Spacer(props: SpacerProps) {
  return <View style={[{width: props.width, height: props.height || cx(20)}, props.style]}/>
}