@atlaskit/motion
Version:
A set of utilities to apply motion in your application.
14 lines (13 loc) • 453 B
TypeScript
import React from 'react';
import { type CallbackRef } from '../utils/use-element-ref';
import { type ResizingOpts } from './use-resizing';
/**
* __Resizing__
*
* Component which consumes the `useResizing()` hook under-the-hood. Its props are the same as the hook's opts.
*/
export declare const Resizing: ({ children, ...props }: ResizingOpts & {
children: (opts: {
ref: CallbackRef;
}) => React.ReactNode;
}) => React.JSX.Element;