components: Add BoolToInt