(props: IButtonProps)
| 12 | } |
| 13 | |
| 14 | export function Button(props: IButtonProps) { |
| 15 | return ( |
| 16 | <base.fluentUI.DefaultButton |
| 17 | {...props} |
| 18 | styles={{ |
| 19 | root: { |
| 20 | backgroundColor: 'transparent', |
| 21 | height: '30px', |
| 22 | width: props.width, |
| 23 | padding: 0, |
| 24 | }, |
| 25 | rootDisabled: { |
| 26 | backgroundColor: 'transparent', |
| 27 | }, |
| 28 | icon: { |
| 29 | color: props.themePalette.themePrimary, |
| 30 | }, |
| 31 | label: { |
| 32 | fontWeight: '400', |
| 33 | textAlign: props.textAlign || 'left', |
| 34 | }, |
| 35 | }} |
| 36 | iconProps={{ iconName: props.iconName }} |
| 37 | /> |
| 38 | ); |
| 39 | } |
nothing calls this directly
no outgoing calls
no test coverage detected