docs(anchor): Add show-rail & show-background (#771)

This commit is contained in:
Spenser Black 2021-08-04 10:58:53 -04:00 committed by GitHub
parent 9c68bdb748
commit 6a2a5d6975
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,7 @@
<n-switch v-model:value="showRail" /> Show Rail
<n-switch v-model:value="showBackground" /> Show Background
</n-space>
<n-anchor>
<n-anchor :show-rail="showRail" :show-background="showBackground">
<n-anchor-link title="Demos" href="#Demos">
<n-anchor-link title="Basic" href="#basic" />
<n-anchor-link title="Ignore-Gap" href="#ignore-gap" />