Button.Icon
A component to show an icon inside a button as a child.
Usage
import {Button} from "@/components";
import React from "react";
const HomeScreen = () => {
return (
<Button>
<Button.Icon icon="home" color="white" />
</Button>
);
};
export default HomeScreen;
Props
Button extends all the props of Icon component