@lax-wp/design-system 0.8.6 → 0.8.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -37,6 +37,10 @@ export interface ResponsiveTagsProps {
|
|
|
37
37
|
truncate?: number;
|
|
38
38
|
/** Prevents tags from wrapping to a new line. @default false */
|
|
39
39
|
noWrap?: boolean;
|
|
40
|
+
/** If true, container width fits content instead of taking full width. @default false */
|
|
41
|
+
fitContent?: boolean;
|
|
42
|
+
/** Content to render inline after the tags */
|
|
43
|
+
trailingContent?: React.ReactNode;
|
|
40
44
|
}
|
|
41
|
-
declare const ResponsiveTags: ({ tags, size, className, maxVisible, icon, title, truncate, noWrap, }: ResponsiveTagsProps) => import("react/jsx-runtime").JSX.Element | "-";
|
|
45
|
+
declare const ResponsiveTags: ({ tags, size, className, maxVisible, icon, title, truncate, noWrap, fitContent, trailingContent, }: ResponsiveTagsProps) => import("react/jsx-runtime").JSX.Element | "-";
|
|
42
46
|
export default ResponsiveTags;
|