У нас вы можете посмотреть бесплатно Authoring Components with CVA + tailwindcss — Compound Variants (2 / 4) или скачать в максимальном доступном качестве, которое было загружено на ютуб. Для скачивания выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса savevideohd.ru
CVA (class-variance-authority) is an incredibly simple, yet powerful library for creating typed variants out of regular ol' css classes. This series walks through how to leverage CVA with tailwindcss to author a Button component in React. In this video we leverage the compoundVariants API to extend our Button component to support rounded buttons. Feel free to follow along or checkout the code for yourself: https://github.com/brookslybrand/cva-... 00:00 Introduction 00:50 Compound Variants 03:29 Examples & final tweaks