Skip to main content

Stripe Text

How to use this component

import { StripeText } from "@christian-caracach/react-text-decorator";

function MyComponent() {
return (
<StripeText
text="This is a decorated text with stripes."
color="primary"
size="lg"
/>
);
}

Props

PropTypeDescriptionValuesRequired
textstringThe text to be decoratedYES
colorstringThe color of the stripes["default","info", "error", "success", "warning"]NO
sizestringThe size of the text component["sm", "md", "lg" ]NO
customClassNamestringCustom classname to add stylesNO