File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -13,12 +13,15 @@ import {
1313 Popover ,
1414 Text ,
1515} from '@ui5/webcomponents-react' ;
16+ import type { CommonProps } from '@ui5/webcomponents-react-base' ;
17+ import { clsx } from 'clsx' ;
1618import { useRef , useState } from 'react' ;
1719import { createPortal } from 'react-dom' ;
1820import BestRunLogo from '../../assets/SAP_Best_R_grad_blk_scrn.png' ;
1921import classes from './Footer.module.css' ;
2022
21- export const Footer = ( { style } ) => {
23+ export const Footer = ( props : CommonProps ) => {
24+ const { className } = props ;
2225 const popoverRef = useRef < PopoverDomRef > ( null ) ;
2326 const footerRef = useRef ( null ) ;
2427 const [ privacyPopoverOpen , setPPOpen ] = useState ( false ) ;
@@ -28,7 +31,7 @@ export const Footer = ({ style }) => {
2831 } ;
2932
3033 return createPortal (
31- < footer className = { classes . footer } style = { style } >
34+ < footer { ... props } className = { clsx ( classes . footer , className ) } >
3235 < div ref = { footerRef } className = { classes . content } >
3336 < FlexBox
3437 justifyContent = { FlexBoxJustifyContent . SpaceBetween }
You can’t perform that action at this time.
0 commit comments