@primer/react
Version:
An implementation of GitHub's Primer Design System using React
12 lines (11 loc) • 818 B
TypeScript
import React from "react";
//#region src/LabelGroup/LabelGroup.d.ts
type LabelGroupProps = {
/** Customize the element type of the rendered container */as?: React.ElementType; /** How hidden tokens should be shown. `'inline'` shows the hidden tokens after the visible tokens. `'overlay'` shows all tokens in an overlay that appears on top of the visible tokens. */
overflowStyle?: 'inline' | 'overlay'; /** How many tokens to show. `'auto'` truncates the tokens to fit in the parent container. Passing a number will truncate after that number tokens. If this is undefined, tokens will never be truncated. */
visibleChildCount?: 'auto' | number;
className?: string;
};
declare const LabelGroup: React.FC<React.PropsWithChildren<LabelGroupProps>>;
//#endregion
export { LabelGroupProps, LabelGroup as default };