@navikt/aksel-icons 2.7.1 → 2.7.3

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.
Files changed (2) hide show
  1. package/README.md +5 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -16,15 +16,17 @@
16
16
 
17
17
  ## Use
18
18
 
19
+ For previous users of `@navikt/ds-icons`, this package utilizes the same API. The only difference is that the icons are suffixed with `Icon` to avoid naming conflicts and visual changes to the icons themselves.
20
+
19
21
  ```jsx
20
- import { StarIcon } from "@navikt/ds-icons";
22
+ import { StarIcon } from "@navikt/aksel-icons";
21
23
 
22
24
  function App() {
23
- return <StarIcon title="star" fontSize="1.5rem"/>;
25
+ return <StarIcon title="star" fontSize="1.5rem" />;
24
26
  }
27
+ ```
25
28
 
26
29
  Tip: Use the `title` prop for accessible icons.
27
- ```
28
30
 
29
31
  ### Sizing
30
32
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@navikt/aksel-icons",
3
- "version": "2.7.1",
3
+ "version": "2.7.3",
4
4
  "author": "Aksel | NAV",
5
5
  "homepage": "https://aksel.nav.no/ikoner",
6
6
  "repository": {