File tree Expand file tree Collapse file tree 2 files changed +21
-25
lines changed
packages/ui/src/components/HR Expand file tree Collapse file tree 2 files changed +21
-25
lines changed Original file line number Diff line number Diff line change @@ -27,20 +27,18 @@ export const HRIcon = forwardRef<HTMLHRElement, HRIconProps>(
2727 const SVGIcon = Icon ? Icon : FaQuoteRight ;
2828
2929 return (
30- < >
31- < div className = { theme . base } >
32- < hr
33- className = { twMerge ( theme . hrLine , className ) }
34- role = "separator"
35- data-testid = "flowbite-hr-icon"
36- ref = { ref }
37- { ...props }
38- />
39- < div className = { theme . icon . base } >
40- < SVGIcon aria-hidden className = { theme . icon . icon } />
41- </ div >
30+ < div className = { theme . base } >
31+ < hr
32+ className = { twMerge ( theme . hrLine , className ) }
33+ role = "separator"
34+ data-testid = "flowbite-hr-icon"
35+ ref = { ref }
36+ { ...props }
37+ />
38+ < div className = { theme . icon . base } >
39+ < SVGIcon aria-hidden className = { theme . icon . icon } />
4240 </ div >
43- </ >
41+ </ div >
4442 ) ;
4543 } ,
4644) ;
Original file line number Diff line number Diff line change @@ -21,18 +21,16 @@ export const HRText = forwardRef<HTMLHRElement, HRTextProps>(
2121 const theme = mergeDeep ( getTheme ( ) . hr . text , customTheme ) ;
2222
2323 return (
24- < >
25- < div className = { theme . base } >
26- < hr
27- className = { twMerge ( theme . hrLine , className ) }
28- data-testid = "flowbite-hr-text"
29- role = "separator"
30- ref = { ref }
31- { ...props }
32- />
33- < span className = { theme . text } > { text } </ span >
34- </ div >
35- </ >
24+ < div className = { theme . base } >
25+ < hr
26+ className = { twMerge ( theme . hrLine , className ) }
27+ data-testid = "flowbite-hr-text"
28+ role = "separator"
29+ ref = { ref }
30+ { ...props }
31+ />
32+ < span className = { theme . text } > { text } </ span >
33+ </ div >
3634 ) ;
3735 } ,
3836) ;
You can’t perform that action at this time.
0 commit comments