Skip to main content
Version: 1.0.0

Icon button

IconButton render a Icon with button properties

Example banner

Implementation code

import { IconButton, Icon } from 'rn-nativeflow';
import { Camera } from 'lucide-react-native';

const Component = () => {
return (
<IconButton onPress={() => console.log("IconButton Pressed")} >
<Icon renderIcon={<Camera size={30} color="#000" />} />
</IconButton>

);
}
export default Component;
PropTypeDefaultDescription
rippleColorstringIt sets the ripple color of the IconButton when anyone press it