mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-14 06:43:25 +08:00
use DiagramStylesProvider
in pieStyles.ts
This commit is contained in:
parent
0d179c501e
commit
c1b9c54fc9
@ -1,6 +1,7 @@
|
||||
import type { DiagramStylesProvider } from '../../diagram-api/types.js';
|
||||
import type { PieStyleOptions } from './pieTypes.js';
|
||||
|
||||
const getStyles = (options: PieStyleOptions) =>
|
||||
const getStyles: DiagramStylesProvider = (options: PieStyleOptions) =>
|
||||
`
|
||||
.pieCircle{
|
||||
stroke: ${options.pieStrokeColor};
|
||||
|
Loading…
x
Reference in New Issue
Block a user