brainly / brainly/style-guide

Expose `useFirisPaint` hook

Open
#2,761 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
165
Forks
31
PR merge metrics
No merged PRs in 30d

Description

This hook is internally used to disable animation during first render (so it has the same behaviour as native css transition). It might be useful for the application to use this hook as well.

Note:
This hook is important but only part of the full solution. Solution itself my differ depending on the use case so keep in mind you still need to implement the other part. For the reference you may take a look at `Checkbox` or `Radio` components implementation.

![CleanShot 2023-06-16 at 11 15 40](https://github.com/brainly/style-guide/assets/8572321/d73b76d2-b392-4858-8437-27e2435cb6a1)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.