File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
packages/components/src/components/IconButton Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -8,21 +8,21 @@ import { Tooltip } from '../Tooltip';
88type IconButtonProps = React . ButtonHTMLAttributes < HTMLButtonElement > & {
99 /** name of the icon */
1010 name : IconNames ;
11- /** icon button should have a label for accessibility */
12- label : string ;
11+ /** icon button should have a title for accessibility */
12+ title : string ;
1313 /** Size of the icon, the button is set to 26x26 */
1414 size ?: number ;
1515} ;
1616
1717export const IconButton : React . FC < IconButtonProps > = ( {
1818 name,
19- label ,
19+ title ,
2020 size,
2121 css = { } ,
2222 ...props
2323} ) => (
2424 // @ts -ignore
25- < Tooltip label = { label } >
25+ < Tooltip label = { title } >
2626 < Button
2727 variant = "link"
2828 css = { deepmerge (
You can’t perform that action at this time.
0 commit comments