-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Add missing react package dependencies (#166)
* build: ➕ Added missing dependencies to react package * 📝 Added README
- Loading branch information
Showing
3 changed files
with
34 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# @digdir/design-system-react | ||
|
||
React components from the DigDir Common Designsystem | ||
|
||
## Installation | ||
|
||
```sh | ||
npm install @digdir/design-system-react | ||
``` | ||
|
||
If you use Typescript, make sure you have typescript >= 3.8 as a devDependency: | ||
|
||
```sh | ||
npm install typescript --save-dev | ||
``` | ||
|
||
## Usage | ||
|
||
```jsx | ||
import '@altinn/figma-design-tokens/dist/tokens.css'; | ||
import { Button } from '@digdir/design-system-react'; | ||
``` |
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 |
---|---|---|
|
@@ -2671,6 +2671,11 @@ | |
resolved "https://registry.yarnpkg.com/@navikt/ds-icons/-/ds-icons-2.1.6.tgz#9a7caae8f6c1696dc4199917d75c3043ade6cbae" | ||
integrity sha512-a6dwPPu3yAJTBB31kXS2OvFdVNUZNjaON2DiQkQppnfDZC82AdhCKE8/NEFaQ3dUZSmbEbGy/e1IHNpFI2kKRg== | ||
|
||
"@navikt/ds-icons@^2.3.0": | ||
version "2.3.0" | ||
resolved "https://registry.yarnpkg.com/@navikt/ds-icons/-/ds-icons-2.3.0.tgz#badd0cf0a455548f8f403909cd888787c0834dc2" | ||
integrity sha512-YJH5dqSxfJdGJOwj6AABQvcL+w2OHs+HoqqsDlGc1fG8/xP5e620UOIgRLD7HisS+dmE2t9OJESPjuI42agkCw== | ||
|
||
"@next/[email protected]": | ||
version "13.0.7" | ||
resolved "https://registry.yarnpkg.com/@next/env/-/env-13.0.7.tgz#7b6ccd9006d3fb57c369e3fb62b28e15324141e9" | ||
|