Closed iurynogueira closed 1 year ago
it is possible to reduce code repetition with function
const getCustomStyle = (border:string, backgroundColor: string, color:string, outline: string, fill: string) => ({ border, backgroundColor, color, outline, svg: { fill, }, })
_Originally posted by @Deeved in https://github.com/iurynogueira/ion-react/pull/44#discussion_r1102747668_
_Originally posted by @Deeved in https://github.com/iurynogueira/ion-react/pull/44#discussion_r1102747668_