Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@fintraffic/fds-coreui-components-react
Advanced tools
React wrappers for Fintraffic Design System Core UI (Web) Components
React wrappers for Fintraffic Design System's Core UI Components.
npm i --save @fintraffic/fds-coreui-components-react
Usage of React component wrappers.
The simplest way to import and register a React component is importing it directly from the @fintraffic/fds-coreui-components-react
package.
import { FdsButton, FdsButtonVariant } from '@fintraffic/fds-coreui-components-react'
<FdsButton
label="My Button"
icon="plus"
variant={FdsButtonVariant.primary}
onClick={handleMyButtonClick}
/>
However this will cause all of the components to be loaded and registered (not just the ones you import).
NOTE: when using React, make sure to import from the
@fintraffic/fds-coreui-components-react
package (note the-react
suffix) to get the React components. If you import from@fintraffic/fds-coreui-components
you will get the native web components instead.
If you want to load and register only a specific component (and its internal dependencies) you can do so by importing from a component specific path:
import { FdsButton, FdsButtonVariant } from '@fintraffic/fds-coreui-components-react/dist/button.js'
Copyright © Fintraffic 2024 Source code of this program is licensed under the EUPL v1.2
FAQs
React wrappers for Fintraffic Design System Core UI (Web) Components
We found that @fintraffic/fds-coreui-components-react demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.