We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Как можно легко внедрить скелетон к себе в компонент.
NavItem.Skeleton = function SkeletonNavItem() { return ( <div className="flex items-center gap-x-2"> <div className="w-10 h-10 relative shrink-0"> <Skeleton className="h-full w-full absolute" /> </div> <Skeleton className="h-10 w-full" /> </div> ); };
Таким образом мы далее можем использовать скелетон компонента NavItem таким образом:
<NavItem.Skeleton />
The text was updated successfully, but these errors were encountered:
#305-skeletons
5998d47
#305-skeletons(improvements)
698318b
Merge pull request #329 from Studio-Yandex-Practicum/enhancement-305-…
3998766
…skeleton #305-skeletons
MargaritaShumilina
Successfully merging a pull request may close this issue.
Как можно легко внедрить скелетон к себе в компонент.
Таким образом мы далее можем использовать скелетон компонента NavItem таким образом:
The text was updated successfully, but these errors were encountered: