Ui.Example
A component to display and example, controls and source code of a component.
States
A state to hold the width of the component.
Properties
Controls when to use a one column layout.
The controls to display on the right.
The example and it's source code to display.
Whether or not the example expands to full width.
Highlights the given code (converts it to Html
).
Controls the horizontal spacing between the elements.
The size of the component.
Controls the vertical spacing between the elements.
The content for the warning area.
Functions
Renders the component.
Updates the mobile
state based on the dimensions and breakpoint.