Skip to content

MethodBadge

API reference and demos for MethodBadge.

Source

import { MethodBadge } from "@flanksource/clicky-ui/data";
All Methods · Open in Storybook

The props table documents the component-specific surface. Standard DOM attributes inherited from React, such as className, event handlers, and accessibility attributes, may also be accepted when the component’s prop type extends a native element.

Prop Type Default Description
className string — Classes applied to the underlying badge.
method* string — HTTP method to display. Case-insensitive.