Security News
Supply Chain Attack Detected in Solana's web3.js Library
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
@progress/kendo-react-common
Advanced tools
React Common package delivers common utilities that can be used with the KendoReact UI components. KendoReact Common Utilities package
@progress/kendo-react-common is a utility package that provides common functionalities and utilities used across various KendoReact components. It includes helper functions, constants, and other shared resources that facilitate the development of KendoReact applications.
ClassNames Utility
The classNames utility helps in conditionally joining class names together. This is particularly useful for dynamically applying styles based on component state.
import { classNames } from '@progress/kendo-react-common';
const buttonClass = classNames('k-button', { 'k-primary': isPrimary, 'k-disabled': isDisabled });
console.log(buttonClass); // Outputs: 'k-button k-primary' or 'k-button k-disabled' based on the state
Guid Utility
The guid utility generates a unique identifier, which can be used for elements that require unique IDs, such as form elements or dynamically created components.
import { guid } from '@progress/kendo-react-common';
const uniqueId = guid();
console.log(uniqueId); // Outputs a unique GUID string
Draggable Component
The Draggable component provides drag-and-drop functionality. It can be used to make any element draggable and handle drag events.
import { Draggable } from '@progress/kendo-react-common';
const DraggableComponent = () => (
<Draggable onDrag={(e) => console.log('Dragging', e)}>
<div>Drag me!</div>
</Draggable>
);
The 'classnames' package is a popular utility for conditionally joining class names together. It is similar to the classNames utility in @progress/kendo-react-common but is more widely used and can be integrated into any React project.
The 'uuid' package is a robust solution for generating unique identifiers (UUIDs). It offers more options and configurations compared to the guid utility in @progress/kendo-react-common.
The 'react-draggable' package provides comprehensive drag-and-drop functionality for React components. It offers more features and customization options compared to the Draggable component in @progress/kendo-react-common.
Important
- This package is а part of KendoReact—a commercial UI library.
- You will need to install a license key when adding the package to your project. For more information, please refer to the KendoReact My License page.
- To receive a license key, you need to either purchase a license or register for a free trial. Doing so indicates that you accept the KendoReact License Agreement.
- The 30-day free trial gives you access to all the KendoReact components and their full functionality. Additionally, for the period of your license, you get access to our legendary technical support provided directly by the KendoReact dev team!
Start using KendoReact and speed up your development process!
The React Common package, part of KendoReact, delivers common utilities that can be used with the KendoReact UI components to enhance their performance and functionality.
What's in this package (ToC):
The KendoReact Draggable component enables the drag-and-drop functionality and enables the user to drag and drop component elements.
The KendoReact Icon component is used to display font icons. All Kendo UI Icons are supported. To ensure React developers can use these icons in any scenario, the KendoReact Icon component displays icons as font icon.
The KendoReact SvgIcon component is used to display svg icons. The KendoReact delivers more than 500 SVG icons. The size, color and orientation of the KendoReact SvgIcon components can be easily customized through the available properties.
The KendoReact Typography component is a reusable that helps presenting the content in a React application. It could trim down a lot of time as the application grows. You can quickly add additional style to the Typography by choosing from the predefined styling options.
For any issues you might encounter while working with the KendoReact common, use any of the available support channels:
High-level component overview pages
Copyright © 2024 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries.
FAQs
React Common package delivers common utilities that can be used with the KendoReact UI components. KendoReact Common Utilities package
The npm package @progress/kendo-react-common receives a total of 121,356 weekly downloads. As such, @progress/kendo-react-common popularity was classified as popular.
We found that @progress/kendo-react-common 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
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.