// withHooks

import React from 'react';
import { Text, View } from 'react-native';


export interface EventLabel_inputArgs {

}
export interface EventLabel_inputProps {
  mandatory?: boolean,
  mandatoryColor?: string,
  label: string,
  labelColor?: string
}
export default function m(props: EventLabel_inputProps): any {
  return (
    <View style={{ flexDirection: 'row', marginTop: 16 }}>
      <Text allowFontScaling={false} numberOfLines={1} style={{ fontSize: 12, fontWeight: "normal", fontStyle: "normal", letterSpacing: 0, color: props.labelColor ? props.labelColor : "#9b9b9b", }}>{props.label}</Text>
      {props.mandatory && <Text allowFontScaling={false} style={{ fontFamily: "Arial", fontSize: 12, fontWeight: "normal", fontStyle: "normal", letterSpacing: 0, color: props.mandatoryColor ? props.mandatoryColor : "#d0021b" }}> *</Text>}
    </View>
  )
}