MethodBadge
API reference and demos for MethodBadge.
Import
Section titled “Import”import { MethodBadge } from "@flanksource/clicky-ui/data";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. |