InternalHeaderUserButton.tsx from navikt/aksel
// Source: https://github.com/navikt/aksel | License: MIT | Copyright 2025 Nav (Arbeids- og velferdsdirektoratet) - The Norwegian Labour and Welfare Administration
// Provided via justclaw.it.com; keep this notice with the code.
import React, { forwardRef } from "react";
import { ChevronDownIcon } from "@navikt/aksel-icons";
import { BodyShort, Detail } from "../typography";
import type { OverridableComponent } from "../utils-external";
import { cl } from "../utils/helpers";
import InternalHeaderButton from "./InternalHeaderButton";
export interface InternalHeaderUserButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
/**
* User name
*/
name: string;
/**
* User description
*/
description?: string;
}
export const InternalHeaderUserButton: OverridableCom
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key