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

@progress/kendo-react-common

Package Overview
Dependencies
Maintainers
1
Versions
1231
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@progress/kendo-react-common

KendoReact Common Utilities package

  • 4.4.0-dev.202102160821
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
247K
increased by13.48%
Maintainers
1
Weekly downloads
 
Created

What is @progress/kendo-react-common?

@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.

What are @progress/kendo-react-common's main functionalities?

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>
);

Other packages similar to @progress/kendo-react-common

Keywords

FAQs

Package last updated on 16 Feb 2021

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