-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: finished renaming contextual-menu => menu
- Loading branch information
Showing
8 changed files
with
27 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,24 @@ | ||
# [`@fremtind/jkl-contextual-menu-react`](https://jokul.fremtind.no/komponenter/contextual-menu) | ||
# [`@fremtind/jkl-menu-react`](https://jokul.fremtind.no/komponenter/menu) | ||
|
||
Se portalen for [bruk og prinsipper](https://jokul.fremtind.no/komponenter/contextual-menu). | ||
Se portalen for [bruk og prinsipper](https://jokul.fremtind.no/komponenter/menu). | ||
|
||
## Installasjon | ||
|
||
**Tips:** [stilpakken](../contextual-menu/) blir automatisk installert som en avhengighet. | ||
**Tips:** [stilpakken](../menu/) blir automatisk installert som en avhengighet. | ||
|
||
1. `npm i @fremtind/jkl-contextual-menu-react`. | ||
1. `npm i @fremtind/jkl-menu-react`. | ||
2. Importér _både_ React-komponent og stilark i prosjektet ditt. | ||
|
||
```js | ||
import { ContextualMenu } from "@fremtind/jkl-contextual-menu-react"; | ||
import { ContextualMenu } from "@fremtind/jkl-menu-react"; | ||
|
||
// Importer stilark via JavaScript med CSS-loader. | ||
import "@fremtind/jkl-contextual-menu/contextual-menu.min.css"; | ||
import "@fremtind/jkl-menu/menu.min.css"; | ||
import "@fremtind/jkl-icons/icons.min.css"; | ||
``` | ||
|
||
```scss | ||
// Eller importer stilark via SCSS. | ||
@use "@fremtind/jkl-contextual-menu/contextual-menu"; | ||
@use "@fremtind/jkl-menu/menu"; | ||
@use "@fremtind/jkl-icons/icons"; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
# [`@fremtind/jkl-contextual-menu`](https://jokul.fremtind.no/komponenter/contextual-menu) | ||
# [`@fremtind/jkl-menu`](https://jokul.fremtind.no/komponenter/menu) | ||
|
||
Se portalen for [bruk og prinsipper](https://jokul.fremtind.no/komponenter/contextual-menu). | ||
Se portalen for [bruk og prinsipper](https://jokul.fremtind.no/komponenter/menu). | ||
|
||
## Installasjon | ||
|
||
**Tips:** om du bruker [React-pakken](../contextual-menu-react/) trenger du ikke installere denne pakken direkte. | ||
**Tips:** om du bruker [React-pakken](../menu-react/) trenger du ikke installere denne pakken direkte. | ||
|
||
1. `npm i @fremtind/jkl-contextual-menu`. | ||
1. `npm i @fremtind/jkl-menu`. | ||
2. Importér stil-pakken i prosjektet ditt. | ||
|
||
```js | ||
// Importer stilark via JavaScript med CSS-loader. | ||
import "@fremtind/jkl-contextual-menu/contextual-menu.min.css"; | ||
import "@fremtind/jkl-menu/menu.min.css"; | ||
``` | ||
|
||
```scss | ||
// Eller importer stilark via SCSS. | ||
@use "@fremtind/jkl-contextual-menu/contextual-menu"; | ||
@use "@fremtind/jkl-menu/menu"; | ||
``` |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters