sdk
sdk copied to clipboard
feat: be possible to customize placeholder
This PR contains two things:
- Associate a class name to be possible to customize placeholder style.
- Add the ability to provide your own placeholder component.
demo
![CleanShot 2022-03-13 at 23 12 29@2x](https://user-images.githubusercontent.com/2096101/158081500-d67446cf-f55a-4585-9cdf-84e9367d9b84.png)
closes #249
Hey @Kikobeats, what do you think of this implementation? Personally after reviewing it again on GH I think I'd prefer a name such as LoadingComponent
, instead of PlaceholderComponent
- thoughts?
Thanks
~P.s. why's the Netlify preview failed?~
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
sdk-hover-react | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | May 8, 2023 0:16am |
sdk-hover-vanilla | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | May 8, 2023 0:16am |
sdk-react | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | May 8, 2023 0:16am |
sdk-vanilla | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | May 8, 2023 0:16am |