An IllustratedMessage consists of three areas: an illustration, a title, and a body.
Each of these sections can be populated by providing the following components to your IllustratedMessage as children:
svg, Heading (title), and Content (body).
functionExample(){let inlineStyle ={fill:'none','stroke-width':'3px'};return(<IllustratedMessage><svgwidth="199"height="98"viewBox="0 0 199 97.7"aria-hidden="true"role="presentation"style={inlineStyle}><pathd="M110.53,85.66,100.26,95.89a1.09,1.09,0,0,1-1.52,0L88.47,85.66"/><linex1="99.5"y1="95.5"x2="99.5"y2="58.5"/><pathd="M105.5,73.5h19a2,2,0,0,0,2-2v-43"/><pathd="M126.5,22.5h-19a2,2,0,0,1-2-2V1.5h-31a2,2,0,0,0-2,2v68a2,2,0,0,0,2,2h19"/><linex1="105.5"y1="1.5"x2="126.5"y2="22.5"/><pathd="M47.93,50.49a5,5,0,1,0-4.83-5A4.93,4.93,0,0,0,47.93,50.49Z"/><pathd="M36.6,65.93,42.05,60A2.06,2.06,0,0,1,45,60l12.68,13.2"/><pathd="M3.14,73.23,22.42,53.76a1.65,1.65,0,0,1,2.38,0l19.05,19.7"/><pathd="M139.5,36.5H196A1.49,1.49,0,0,1,197.5,38V72A1.49,1.49,0,0,1,196,73.5H141A1.49,1.49,0,0,1,139.5,72V32A1.49,1.49,0,0,1,141,30.5H154a2.43,2.43,0,0,1,1.67.66l6,5.66"/><rectx="1.5"y="34.5"width="58"height="39"rx="2"ry="2"/></svg><Heading>Drag and Drop Your File</Heading><Content>Select a File from your computer<br/> or Search Adobe Stock</Content></IllustratedMessage>);}
The title of an IllustratedMessage is typically provided via its Heading.
If a Heading isn't specified, the svg needs an aria-label prop and a role prop set to img.
Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship
between DOM elements where the DOM hierarchy cannot be used to represent the relationship.