mirror of
https://github.com/DustinBrett/daedalOS.git
synced 2025-12-06 12:20:20 +01:00
15 lines
413 B
TypeScript
15 lines
413 B
TypeScript
import type { HandleClasses } from 'react-rnd';
|
|
|
|
export const resizeHandleClasses = (styles: {
|
|
[className: string]: string;
|
|
}): HandleClasses => ({
|
|
top: styles.resizeTop,
|
|
right: styles.resizeRight,
|
|
bottom: styles.resizeBottom,
|
|
left: styles.resizeLeft,
|
|
topRight: styles.resizeTopRight,
|
|
bottomRight: styles.resizeBottomRight,
|
|
bottomLeft: styles.resizeBottomLeft,
|
|
topLeft: styles.resizeTopLeft
|
|
});
|