pmndrs / drei-vanilla

🍦 drei-inspired helpers for threejs
https://pmndrs.github.io/drei-vanilla/
MIT License
448 stars 17 forks source link

feat: introducing `Text` #37

Closed alexzhang1030 closed 12 months ago

alexzhang1030 commented 12 months ago

Why

Port the Text component of @pmndrs/drei

What

Checklist

codesandbox-ci[bot] commented 12 months ago

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 038dfdeb02ef5683a8d417b46c6838e272c39cdf:

Sandbox Source
white-cloud-d5t64x Configuration
Ground reflections and video textures Configuration
arc-x-pmndrs-colors Configuration
vis-prime commented 12 months ago

isn't it better to use https://www.npmjs.com/package/troika-three-text directly ?

also add the troika dependency in peerDependencies so that you don't need the exact version

 "peerDependencies": {
    "three": ">=0.137"
  }
alexzhang1030 commented 12 months ago

isn't it better to use npmjs.com/package/troika-three-text directly ?

also add the troika dependency in peerDependencies so that you don't need the exact version

 "peerDependencies": {
    "three": ">=0.137"
  }

Done! And I replaced the Billboard story with the Text & Billboard story.

I think we wrapped the troika-three-text as our component same with pmndrs/drei will reduce the complexity of adding text, devs do not need to read the docs of troika-three-text.

github-actions[bot] commented 12 months ago

:tada: This PR is included in version 1.13.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: