NestedRadiiDiagram
Import
import { NestedRadiiDiagram } from 'markgraphy';Basic usage
<NestedRadiiDiagram
initialOuter={16}
initialInset={4}
interactive={true}
/>12px
inner = max(0, 16 - 4) = 12px
Props
| Prop | Type | Default | Description |
|---|---|---|---|
initialOuter? | number | 16 | Starting outer radius in px. Default 16. |
initialInset? | number | 4 | Starting inset (padding) in px. Default 4. |
interactive? | boolean | true | Show the sliders and the live CSS preview. Default true. |
class? | string | '' | — |
Exported types
NestedRadiiDiagramProps