naive-ui/demo/documentation/components/element/enUS/index.demo-entry.md
2020-10-21 21:21:19 +08:00

478 B

Element

Element can be render as a custom tag with the ability of accessing some configurations provided by n-config-provider.

Demos

basic
color

Props

Name Type Default Description
tag string 'div' The tag n-element should be rendered as.
on-theme-change (theme: string) => any undefined

Slots

Name Parameters Description
default (theme: string, namespace: string, themeEnvironment: any, styleScheme: Object)