(props: IIconButtonProps)
| 16 | } |
| 17 | |
| 18 | export function IconButton(props: IIconButtonProps) { |
| 19 | return ( |
| 20 | <base.fluentUI.IconButton |
| 21 | {...props} |
| 22 | styles={{ |
| 23 | root: { |
| 24 | color: props.themePalette.black, |
| 25 | }, |
| 26 | rootHovered: { |
| 27 | background: 'transparent', |
| 28 | color: props.themePalette.themePrimary, |
| 29 | }, |
| 30 | rootPressed: { |
| 31 | background: 'transparent', |
| 32 | }, |
| 33 | menuIcon: { |
| 34 | display: 'none', |
| 35 | }, |
| 36 | }} |
| 37 | iconProps={{ iconName: props.iconName }} |
| 38 | menuProps={props.menuProps} |
| 39 | /> |
| 40 | ); |
| 41 | } |
nothing calls this directly
no outgoing calls
no test coverage detected