- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Inline Tip
A component for displaying a note or tip inline.
Tip: Medusa UI is a package of React components to be used in Medusa Admin customizations.
Was this example helpful?
Usage#
API Reference#
This component is based on the div
element and supports all of its props.
Prop | Type | Default |
---|---|---|
label | string | - |
variant | "info" | "warning" | "error" | "success" | "info" |
Was this helpful?
Examples#
Success Inline Tip#
Success: Product created successfully!
Was this example helpful?
Warning Inline Tip#
Warning: This action cannot be undone.
Was this example helpful?
Error Inline Tip#
Error: An error occurred. Please try again.
Was this example helpful?