-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: make primary components accessible
`Block`, `List`, `ListItem` and `Mark`
- Loading branch information
Showing
2 changed files
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"astro-portabletext": minor | ||
--- | ||
|
||
Feat: Made `Block`, `List`, `ListItem` and `Mark` components available to be used to help extend custom components. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
export { default as Block } from "../components/Block.astro"; | ||
export type { Props as BlockProps } from "../components/Block.astro"; | ||
|
||
export { default as List } from "../components/List.astro"; | ||
export type { Props as ListProps } from "../components/List.astro"; | ||
|
||
export { default as ListItem } from "../components/ListItem.astro"; | ||
export type { Props as ListItemProps } from "../components/ListItem.astro"; | ||
|
||
export { default as Mark } from "../components/Mark.astro"; | ||
export type { Props as MarkProps } from "../components/Mark.astro"; |