![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
@kupibilet/icons
Advanced tools
[![NPM version][npm-img]][npm-url]
[
][daviddm-dev-url]
https://github.com/kupibiletdev/icons
/src/icons
npm run build
для сборки спрайтаnpm version
npm run pages
npm i @kupibilet/icons --save-dev
/.storybook/head.html
подключить иконки с cdn: <script src="https://unpkg.com/@kupibilet/icons"></script>
stories.js
, после {story()}
: <div
dangerouslySetInnerHTML={{ __html: window.sprite.default() }}
style={{
display: 'none',
}}
/>
coming soon
В зависимости от иконки, у неё может быть два цвета.
Один определяется свойством fill
, другой stroke
.
Цвета в иконку передаются из стилей родительского компонента (для того, чтобы их удобно было менять вместе с цветом текста на кнопке, например):
fill: white
stroke: black
Также, через prop styleName
можно передать класс с нужными свойствами.
Доступные классы, на данный момент:
[daviddm-dev-url]: https://david-dm.org/kupibiletdev/icons#info=devDependencies) [npm-img]: https://badge.fury.io/js/icons.svg [npm-url]: https://www.npmjs.com/package/icons
FAQs
icons for kupibilet.ru
The npm package @kupibilet/icons receives a total of 26 weekly downloads. As such, @kupibilet/icons popularity was classified as not popular.
We found that @kupibilet/icons demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.