@codegouvfr/react-dsfr
Version:
French State Design System React integration library
24 lines (23 loc) • 837 B
TypeScript
/// <reference types="react" />
import type { HeaderProps } from "../Header";
import type { FooterProps } from "../Footer";
export declare const headerFooterDisplayItem: HeaderProps.QuickAccessItem.Button & FooterProps.BottomItem.Button;
/** @see <https://components.react-dsfr.codegouv.studio/?path=/docs/components-display> */
export declare function Display(): JSX.Element;
export declare namespace Display {
var displayName: "Display";
}
export default Display;
declare const addDisplayTranslations: (params: {
lang: string;
messages: Partial<{
"display settings": string;
close: string;
"pick a theme": string;
"light theme": string;
"dark theme": string;
"system theme": string;
"system theme hint": string;
}>;
}) => void;
export { addDisplayTranslations };