Skip to main content

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

EnumDescription
Notice.TypesNotice types
WARNING | INFO | ERROR | POSITIVE

Props

NameTypeDefaultDescription
classNamestringComponent class name
messageType* Notice.TypesDefine type of notice
textColorstringtext-normalText color (variable name)
textVariantstringtext-sm/mediumText variant (variant name)