Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import { createMedium, createSidecarMedium } from 'use-sidecar';
export const mediumFocus = createMedium(
{},
({ target, currentTarget }) => ({ target, currentTarget }),
);
export const mediumBlur = createMedium();
export const mediumEffect = createMedium();
export const mediumSidecar = createSidecarMedium({
async: true,
});
import { createMedium, createSidecarMedium } from 'use-sidecar';
export const mediumFocus = createMedium(
{},
({ target, currentTarget }) => ({ target, currentTarget }),
);
export const mediumBlur = createMedium();
export const mediumEffect = createMedium();
export const mediumSidecar = createSidecarMedium({
async: true,
});
import { createMedium, createSidecarMedium } from 'use-sidecar';
export const mediumFocus = createMedium(
{},
({ target, currentTarget }) => ({ target, currentTarget }),
);
export const mediumBlur = createMedium();
export const mediumEffect = createMedium();
export const mediumSidecar = createSidecarMedium({
async: true,
});