mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-09 04:31:35 +08:00
refactor: props name change in nimbus service layout
This commit is contained in:
parent
463d977b0e
commit
5c15591c8a
@ -15,7 +15,7 @@
|
||||
</div>
|
||||
<div class="n-doc-section__view">
|
||||
<n-nimbus-service-layout
|
||||
service-icon="md-musical-notes"
|
||||
icon="md-musical-notes"
|
||||
name="My Generation"
|
||||
:items="[
|
||||
{
|
||||
@ -61,7 +61,7 @@
|
||||
</div>
|
||||
<div class="n-doc-section__source">
|
||||
<textarea><n-nimbus-service-layout
|
||||
service-icon="md-musical-notes"
|
||||
icon="md-musical-notes"
|
||||
name="My Generation"
|
||||
:items="[
|
||||
{
|
||||
|
@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div class="demo">
|
||||
<n-nimbus-service-layout
|
||||
service-icon="md-contacts"
|
||||
icon="md-contacts"
|
||||
name="NAIVE UI (0.1.50)"
|
||||
:padding-body="false"
|
||||
:items="items"
|
||||
|
@ -16,7 +16,7 @@
|
||||
<div class="n-nimbus-service-layout-drawer-header__content">
|
||||
<div class="n-nimbus-service-layout-drawer-header__icon">
|
||||
<n-icon
|
||||
:type="serviceIcon"
|
||||
:type="icon"
|
||||
:size="22"
|
||||
/>
|
||||
</div>
|
||||
@ -89,7 +89,7 @@
|
||||
export default {
|
||||
name: 'NNimbusServiceLayout',
|
||||
props: {
|
||||
serviceIcon: {
|
||||
icon: {
|
||||
type: String,
|
||||
default: 'md-settings'
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user