Notice
caution
All props/parameters are optional unless they are marked with an asterisk ( * ).
Example
import { components } from "replugged";
const { Notice } = components;
<Notice messageType={Notice.Types.POSITIVE}>Notice text</Notice>;
Enums
| Enum | Description |
|---|---|
Notice.Types | Notice types WARNING | INFO | ERROR | POSITIVE |
Props
| Name | Type | Default | Description |
|---|---|---|---|
className | string | Component class name | |
messageType | * Notice.Types | Define type of notice | |
textColor | string | text-normal | Text color (variable name) |
textVariant | string | text-sm/medium | Text variant (variant name) |