ds-react-internal
/
1.0.2
ds-react-internal 1.0.2
Install from the command line:
Learn more about npm packages
$ npm install @navikt/ds-react-internal@1.0.2
Install via package.json:
"@navikt/ds-react-internal": "1.0.2"
About this version
NAVs internal React-components used for more internal facing surfaces.
- Uses styling from
@navikt/ds-css
and@navikt/ds-internal-css
- All components implemented with React.forwardRef!
- Most components extend native html-elements.
Install @navikt/ds-react-internal
with yarn
yarn add @navikt/ds-react-internal
Install @navikt/ds-react-internal
with npm
npm install @navikt/ds-react-internal
Remember to also import @navikt/ds-css and @navikt/ds-css-internal to apply styling!
import { Header } from "@navikt/ds-react-internal";
function App() {
return (
<Header>
<Header.Title as="h1">Title</Header.Title>
</Header>
);
}