@dnb/eufemia
Version:
DNB Eufemia Design System UI Library
18 lines (17 loc) • 623 B
TypeScript
/**
* Suffix helper
*
*/
import type { HTMLAttributes, ReactNode } from 'react';
import type { SkeletonShow } from '../../components/skeleton/Skeleton';
declare const SuffixContext: import("react").Context<any>;
export type SuffixChildren = ReactNode;
export type SuffixProps = {
className: string;
children: SuffixChildren;
context: Record<string, unknown>;
skeleton?: SkeletonShow;
};
declare const Suffix: ({ className, children, context, skeleton, ...props }: SuffixProps & HTMLAttributes<HTMLSpanElement>) => import("react/jsx-runtime").JSX.Element;
export { SuffixContext };
export default Suffix;