From 05770cad558457647dedb37a793c2d3ce3091bd1 Mon Sep 17 00:00:00 2001 From: Irwing Naranjo Date: Tue, 26 Mar 2024 23:14:13 -0300 Subject: [PATCH] refactor: add props to title component add sizes props to reuse in hero and footer --- src/components/Icons/Title.tsx | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/components/Icons/Title.tsx b/src/components/Icons/Title.tsx index b74acb5..942ae99 100644 --- a/src/components/Icons/Title.tsx +++ b/src/components/Icons/Title.tsx @@ -1,7 +1,12 @@ -export const Title = () => ( +interface propsType { + width?: string; + height?: string; +} + +export const Title = ({ width = "100%", height = "100%" }: propsType) => (