Skip to content

Commit bcbb1c3

Browse files
committed
style: use singlequote
1 parent 32b2dc2 commit bcbb1c3

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

src/decorators/defaultStyles.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,4 @@ export function getDefaultPopupColors(type) {
4444
return defaultColors[type] ? { ...defaultColors[type] } : undefined;
4545
}
4646

47-
export const DEFAULT_PADDING = "8px 21px";
47+
export const DEFAULT_PADDING = '8px 21px';

src/decorators/styler.js

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,20 @@
1-
import { getDefaultPopupColors, DEFAULT_PADDING } from "./defaultStyles";
1+
import { getDefaultPopupColors, DEFAULT_PADDING } from './defaultStyles';
22

33
/**
44
* Generates the specific tooltip style for use on render.
55
*/
6-
export function generateTooltipStyle(uuid, customColors, type, hasBorder, padding) {
7-
return generateStyle(uuid, getPopupColors(customColors, type, hasBorder), padding);
6+
export function generateTooltipStyle(
7+
uuid,
8+
customColors,
9+
type,
10+
hasBorder,
11+
padding
12+
) {
13+
return generateStyle(
14+
uuid,
15+
getPopupColors(customColors, type, hasBorder),
16+
padding
17+
);
818
}
919

1020
/**

0 commit comments

Comments
 (0)