Info
Last updated
Was this helpful?
An info component, which can be used to display normal messages, warnings or errors.
import { Info } from '@aragon/ui'
function MyApp = () => {
return <Info title="Title">Some info</Info>
}
mode"info", "warning", "error"
"info"
Set the mode of the Info component. The styles can be individually overriden by background, color, borderColor and titleColor.
titleString
None
Set a title for the info box.
Example:
backgroundColor
None
Set the background of the info box.
colorColor
None
Set the text color.
borderColorColor
None
Set the border color of the info box.
titleColorColor
None
Set the title color.
Last updated
Was this helpful?
Was this helpful?
<Info title="My title">Some info</Info>