docs(grid-item): limitation

This commit is contained in:
07akioni 2022-10-29 21:10:20 +08:00
parent 1a2c9e46f0
commit 8884e31093
2 changed files with 12 additions and 0 deletions

View File

@ -4,6 +4,12 @@
Based on CSS Grid. Responsive. Keep away from IE. Based on CSS Grid. Responsive. Keep away from IE.
<n-alert type="warning" title="Caveats">
Due to technical limitation, <n-text code>n-grid-item</n-text> can't be encapsulated in another component.
</n-alert>
## Demos
```demo ```demo
basic.vue basic.vue
gap.vue gap.vue

View File

@ -4,6 +4,12 @@
基于 CSS Grid响应式远离 IE。 基于 CSS Grid响应式远离 IE。
<n-alert type="warning" title="注意">
由于技术限制,<n-text code>n-grid-item</n-text> 是无法被二次封装的。
</n-alert>
## 演示
```demo ```demo
basic.vue basic.vue
gap.vue gap.vue