UNPKG

@codegouvfr/react-dsfr

Version:

French State Design System React integration library

14 lines (13 loc) 565 B
import React, { ReactNode } from "react"; export type HighlightProps = { className?: string; classes?: Partial<Record<"root" | "content", string>>; size?: HighlightProps.Size; children: NonNullable<ReactNode>; }; export declare namespace HighlightProps { type Size = "sm" | "lg"; } /** @see <https://react-dsfr-components.etalab.studio/?path=/docs/components-highlight> */ export declare const Highlight: React.MemoExoticComponent<React.ForwardRefExoticComponent<HighlightProps & React.RefAttributes<HTMLDivElement>>>; export default Highlight;