Home > @uniformdev/design-system > CalloutProps

CalloutProps interface

Signature:

Properties

<table><thead><tr><th>

Property

</th><th>

Modifiers

</th><th>

Type

</th><th>

Description

</th></tr></thead> <tbody><tr><td>

children?

</td><td>

</td><td>

React$1.ReactNode

</td><td>

(Optional) add child elements to the callout

</td></tr> <tr><td>

className?

</td><td>

</td><td>

SerializedStyles | string

</td><td>

(Optional) sets additional css classes or emotion styles on the callout

</td></tr> <tr><td>

compact?

</td><td>

</td><td>

boolean

</td><td>

(Optional) make the display of the callout compact. Suitable for small spaces false

</td></tr> <tr><td>

testId?

</td><td>

</td><td>

string

</td><td>

(Optional) sets the data-testid on the callout element

</td></tr> <tr><td>

title?

</td><td>

</td><td>

React$1.ReactNode

</td><td>

(Optional) (optional) sets the title of the callout

</td></tr> <tr><td>

type

</td><td>

</td><td>

CalloutType

</td><td>

sets the type of callout to use and it's styles "info"

</td></tr> </tbody></table>