Files
directus/src/components/v-info
Rijk van Zanten 8498c37431 Info state (#482)
* Render markdown in field notes

* Make add field button full width on data model

* Add no items with cta

* Add no items cta

* Add no results + clear

* Add no collections state
2020-04-24 20:12:51 -04:00
..
2020-04-02 20:48:01 -04:00
2020-04-02 20:48:01 -04:00
2020-04-02 20:48:01 -04:00
2020-04-02 20:48:01 -04:00
2020-04-24 20:12:51 -04:00

Info

Renders a stylized informational placard. It's similar in v-notice in it's use case.

Usage

<v-info icon="person" title="User Not Found" type="warning">
	We couldn't find the user you're looking for.
</v-info>

Props

Prop Description Default
title* Title for the info section
icon What icon to render above the title box
type One of info, success, warning, danger info

Events

n/a

Slots

Slot Description Data
default Default content area. Is rendered within a styled <p> tag.
append After the main body copy. Can be used to inject buttons etc.

CSS Variables

n/a