Components

Integrations

ActionGroup

Die ActionGroup gruppiert zusammengehörige Actions, etwa in Sections oder Modals.GitHubMarkdown

Reihenfolge der Buttons

Es kann vorkommen, dass sich durch Rerendering die Reihenfolge der Buttons ändert, wenn z. B. Inhalte nachgeladen werden. Um das zu verhindern, sollte um diese Inhalte ein Suspense gelegt werden.


Properties

PropertyTypeDefaultDescription
spacing"s" | "m""s"The spacing between the buttons inside the action group.
size"s" | "m""m"The size of the buttons and links inside the action group.
preserveOrderbooleanfalseWhen set, the buttons are not sorted automatically but stay in source order.
childrenReactNode-
wrapWithReactElement<unknown, string | JSXElementConstructor<any>>-A React element the component is wrapped with. The element is cloned and receives the component as its only child — useful to render the component inside a link, a tooltip trigger or any other wrapper without changing the surrounding markup.
refRef<HTMLSpanElement>-Allows getting a ref to the component instance. Once the component unmounts, React will set `ref.current` to `null` (or call the ref with `null` if you passed a callback ref). @see React Docs
keyKey-
classNamestring-The elements class name.

Auf dieser Seite