Skip to content

Commit

Permalink
refactor: add props to title component
Browse files Browse the repository at this point in the history
add sizes props to reuse in hero and footer
  • Loading branch information
geekhadev committed Mar 27, 2024
1 parent f62dd27 commit 05770ca
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions src/components/Icons/Title.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
export const Title = () => (
interface propsType {
width?: string;
height?: string;
}

export const Title = ({ width = "100%", height = "100%" }: propsType) => (
<svg
width="100%"
height="100%"
width={width}
height={height}
viewBox="0 0 178 103"
fill="none"
xmlns="http://www.w3.org/2000/svg"
Expand Down

0 comments on commit 05770ca

Please sign in to comment.