Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 | 24x 24x 120x 120x | import { IArcProps, IArcStyles } from './Arc.types'; import { DefaultPalette, ITheme } from '@fluentui/react/lib/Styling'; export const getStyles = (props: IArcProps, theme: ITheme | undefined): IArcStyles => { const { color } = props; return { arcRoot: { fill: color }, arcRootFocussed: { fill: color, stroke: theme?.palette.black || DefaultPalette.black, strokeWidth: 2 }, arc: { outline: 'none' }, arcText: { fill: theme?.palette.black || DefaultPalette.black, outline: 'none' }, }; }; |