Skip to content

Commit

Permalink
fix: the missing export and docs (#43)
Browse files Browse the repository at this point in the history
* fix: the missing export and docs
  • Loading branch information
alexzhang1030 committed Sep 11, 2023
1 parent 5c60a99 commit 8259ac8
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,12 @@ import { pcss, ... } from '@pmndrs/vanilla'
<li><a href="#accumulativeshadows">AccumulativeShadows</a></li>
<li><a href="#caustics">Caustics</a></li>
</ul>
<li><a href="#staging">Abstractions</a></li>
<ul>
<li><a href="#outlines">Outlines</a></li>
<li><a href="#billboard">Billboard</a></li>
<li><a href="#text">Text</a></li>
</ul>
<li><a href="#gizmos">Gizmos</a></li>
<ul>
<li><a href="#grid">Grid</a></li>
Expand Down Expand Up @@ -522,7 +528,6 @@ export type BillboardType = {
}
```


#### Text

[![storybook](https://img.shields.io/badge/-storybook-%23ff69b4)](https://pmndrs.github.io/drei-vanilla/?path=/story/abstractions-text--text-story)
Expand Down Expand Up @@ -600,8 +605,8 @@ const preloadRelatedParams = {
onPreloadEnd: () => {
// this is the callback when font and characters are loaded
},
=======
```
#### Sprite Animator
[![storybook](https://img.shields.io/badge/-storybook-%23ff69b4)](https://pmndrs.github.io/drei-vanilla/?path=/story/misc-spriteanimator--sprite-animator-story)
Expand Down
7 changes: 6 additions & 1 deletion src/core/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,12 @@ export * from './AccumulativeShadows'

// Misc
export * from './useFBO'
export * from './SpriteAnimator'

// Abstractions
export * from './Outlines'
export * from './Billboard'
export * from './Text'

// Gizmos
export * from './Grid'
export * from './Outlines'

0 comments on commit 8259ac8

Please sign in to comment.