Skip to content

Commit

Permalink
Renamed slots from shape-N to block-N
Browse files Browse the repository at this point in the history
All naming in the ShapeGrid is now block-*
  • Loading branch information
0phoff committed Nov 22, 2023
1 parent e9ecf42 commit 339adac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/ShapeGrid.vue
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ function getFallthroughAttrs() {
<template v-for="num in numShapes">
<div class="shape" :class="`shape-${num}`">
<Block v-bind="getBlockAttrs(num)">
<slot :name="`shape-${num}`" />
<slot :name="`block-${num}`" />
</Block>
</div>
</template>
Expand Down
2 changes: 1 addition & 1 deletion example.md
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ layout: pile
block-15--color="var(--kul-blue-200)" block-16--color="var(--kul-blue-200)" block-17--color="var(--kul-blue-200)" block-18--color="var(--kul-blue-200)"
>
<template #shape-12>
<template #block-12>

Custom Content

Expand Down

0 comments on commit 339adac

Please sign in to comment.