Skip to main content

Features

In this section we go through the features of preview component.

Resizing View Port

PreviewConfig

interface PreviewConfig {
darkMode?: boolean; // Enable dark mode
showToolbar?: boolean; // Show/hide the toolbar
showScale?: boolean; // Show/hide scaling information
showLabels?: boolean; // Show/hide breakpoint labels
}