component for boolean properties with custom strings for true and false