@thecb/components 7.10.0-beta.1 → 7.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
+
import { fallbackValues } from "./Icons.theme";
|
|
3
|
+
import { themeComponent } from "../../../util/themeUtils";
|
|
2
4
|
|
|
3
|
-
const PencilIcon = ({ ariaLabel = "Edit" }) => (
|
|
5
|
+
const PencilIcon = ({ ariaLabel = "Edit", themeValues }) => (
|
|
4
6
|
<svg
|
|
5
7
|
aria-label={ariaLabel}
|
|
6
8
|
width="24px"
|
|
@@ -12,9 +14,9 @@ const PencilIcon = ({ ariaLabel = "Edit" }) => (
|
|
|
12
14
|
fillRule="evenodd"
|
|
13
15
|
clipRule="evenodd"
|
|
14
16
|
d="M19.74 6.84a.885.885 0 0 1 0 1.253l-1.626 1.626-3.333-3.333 1.626-1.626a.885.885 0 0 1 1.253 0l2.08 2.08ZM4 20.5v-3.333l9.83-9.83 3.333 3.333-9.83 9.83H4Z"
|
|
15
|
-
fill=
|
|
17
|
+
fill={themeValues.subIconColor}
|
|
16
18
|
/>
|
|
17
19
|
</svg>
|
|
18
20
|
);
|
|
19
21
|
|
|
20
|
-
export default PencilIcon;
|
|
22
|
+
export default themeComponent(PencilIcon, "Icons", fallbackValues, "info");
|