Skip to content

Commit

Permalink
docs(card): add missing footer slot to docs (#1344)
Browse files Browse the repository at this point in the history
* docs(card): add missing footer slot to docs

* docs: changeset
  • Loading branch information
micahjones13 authored Sep 24, 2024
1 parent 02b7bab commit 4c4e3bc
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
11 changes: 11 additions & 0 deletions .changeset/swift-pans-chew.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
"@astrouxds/astro-web-components": patch
"angular-workspace": patch
"@astrouxds/angular": patch
"astro-angular": patch
"astro-react": patch
"astro-vue": patch
"@astrouxds/react": patch
---

Added missing footer slot documentation to storybook
1 change: 1 addition & 0 deletions packages/web-components/src/components/rux-card/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
| Slot | Description |
| ------------- | ------------------ |
| `"(default)"` | The card's content |
| `"footer"` | The cards footer |
| `"header"` | The card's header |


Expand Down
4 changes: 3 additions & 1 deletion packages/web-components/src/components/rux-card/rux-card.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
import { State, Element, Component, Host, h } from '@stencil/core'
import { Component, Element, Host, State, h } from '@stencil/core'

import { hasSlot } from '../../utils/utils'
/**
* @slot (default) - The card's content
* @slot header - The card's header
* @slot footer - The cards footer
* @part container - The card's outtermost container
* @part header - The card's outside header element
* @part body - The card's outside body element
Expand Down

0 comments on commit 4c4e3bc

Please sign in to comment.