@makerinc/react-sdk
    Preparing search index...

    Interface RenderDescriptionOptions

    interface RenderDescriptionOptions {
        className?: string;
        isPreWrapped?: boolean;
        isRichText?: boolean;
        product: Product;
        style?: CSSProperties;
        text: string;
        variant?: Variant;
    }
    Index

    Properties

    className?: string

    Additional CSS className

    isPreWrapped?: boolean

    Whether to preserve whitespace with pre-wrap (default: true)

    isRichText?: boolean

    Whether the text contains HTML (default: true)

    product: Product

    Product data for template variable substitution

    style?: CSSProperties

    Additional inline styles

    text: string

    The description text to render

    variant?: Variant

    Optional variant for ${variant.id} substitution