Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@fintraffic/fds-coreui-components-react

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fintraffic/fds-coreui-components-react

React wrappers for Fintraffic Design System Core UI (Web) Components

  • 0.1.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-90.91%
Maintainers
1
Weekly downloads
 
Created
Source

fds-coreui-components-react

React wrappers for Fintraffic Design System's Core UI Components.

Install

npm i --save @fintraffic/fds-coreui-components-react

Usage

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'

Licencing

Copyright © Fintraffic 2024 Source code of this program is licensed under the EUPL v1.2

FAQs

Package last updated on 02 Apr 2024

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc