File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
packages/module/src/MessageBox Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,8 @@ const MessageBoxBase: React.FunctionComponent<MessageBoxProps> = ({
2525 children,
2626 innerRef,
2727 className,
28- position = 'top'
28+ position = 'top' ,
29+ ...props
2930} : MessageBoxProps ) => {
3031 const [ atTop , setAtTop ] = React . useState ( false ) ;
3132 const [ atBottom , setAtBottom ] = React . useState ( true ) ;
@@ -96,6 +97,7 @@ const MessageBoxBase: React.FunctionComponent<MessageBoxProps> = ({
9697 aria-label = { ariaLabel }
9798 className = { `pf-chatbot__messagebox ${ position === 'bottom' && 'pf-chatbot__messagebox--bottom' } ${ className ?? '' } ` }
9899 ref = { innerRef ?? messageBoxRef }
100+ { ...props }
99101 >
100102 { children }
101103 < div className = "pf-chatbot__messagebox-announcement" aria-live = "polite" >
You can’t perform that action at this time.
0 commit comments