File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
patternfly-docs/content/extensions/data-view/examples/Table Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ export const ResizableColumnsExample: FunctionComponent = () => {
121121 resizableProps : {
122122 isResizable : true ,
123123 onResize,
124- screenreaderText : screenReaderText
124+ screenReaderText
125125 }
126126 } ,
127127 'Pull requests' ,
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ export interface DataViewThResizableProps {
3030 /** Aria label for the resize button */
3131 resizeButtonAriaLabel ?: string ;
3232 /** Screenreader text for the column */
33- screenreaderText ?: string ;
33+ screenReaderText ?: string ;
3434}
3535export interface DataViewThProps {
3636 /** Cell content */
@@ -59,7 +59,7 @@ export const DataViewTh: FC<DataViewThProps> = ({
5959 const shiftIncrement = resizableProps ?. shiftIncrement || 25 ;
6060 const resizeButtonAriaLabel = resizableProps ?. resizeButtonAriaLabel || `Resize ${ content } ` ;
6161 const onResize = resizableProps ?. onResize || undefined ;
62- const screenreaderText = resizableProps ?. screenreaderText || `Column ${ width . toFixed ( 0 ) } pixels` ;
62+ const screenReaderText = resizableProps ?. screenReaderText || `Column ${ width . toFixed ( 0 ) } pixels` ;
6363
6464 const resizeButtonRef = useRef < HTMLButtonElement > ( null ) ;
6565 const setInitialVals = useRef ( true ) ;
@@ -272,7 +272,7 @@ export const DataViewTh: FC<DataViewThProps> = ({
272272 ) }
273273 { isResizable && (
274274 < div aria-live = "polite" className = "pf-v6-screen-reader" >
275- { screenreaderText }
275+ { screenReaderText }
276276 </ div >
277277 ) }
278278 </ Th >
You can’t perform that action at this time.
0 commit comments