5.28.0 • Published 2d ago
@cleartrip/ct-design-event-propagation
Licence
ISC
Version
5.28.0
Deps
2
Size
5 kB
Vulns
0
Weekly
0
EventPropagation
A utility component for managing event propagation behavior.
Installation
npm install @cleartrip/ct-design-event-propagation
# or
pnpm add @cleartrip/ct-design-event-propagation
Peer dependencies
# Required for all targets
npm install react
# Web only
npm install react-dom
# React Native only
npm install react-native
Usage
Basic
import { EventPropagation } from '@cleartrip/ct-design-event-propagation';
function Example() {
return (
<EventPropagation>
{/* Basic usage */}
</EventPropagation>
);
}
Accessibility
- The component follows accessibility best practices
- Ensure proper ARIA attributes are provided where needed
- Test with screen readers to ensure usability
Migration
If migrating from a previous version:
- import { EventPropagation } from 'yagami/core/components';
+ import { EventPropagation } from '@cleartrip/ct-design-event-propagation';