IIconProps

interface
Icons

Minimal icon prop surface shared across all Origam components that display an icon — a single optional icon prop accepting any TIcon value.

TypeScript

Definition

The TypeScript interface definition as found in the origam source. Click the copy icon to copy the snippet.

typescript

API

Properties

Every property declared by this interface, with its type, optionality and default.

icon
TIcon
Icon to display. Accepts an MDI name string, a Vue component, or an SVG node.

Ecosystem

Used by

Components and composables that extend or consume this interface.

Usage

Examples

Ready-to-paste code snippets using this interface.

Using IIconProps to type a wrapper component

typescript