You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
624 B
22 lines
624 B
/**
|
|
* Removed props:
|
|
* - childrenProps
|
|
*/
|
|
import React from 'react';
|
|
import { AlignType, AlignResult, TargetType } from './interface';
|
|
declare type OnAlign = (source: HTMLElement, result: AlignResult) => void;
|
|
export interface AlignProps {
|
|
align: AlignType;
|
|
target: TargetType;
|
|
onAlign?: OnAlign;
|
|
monitorBufferTime?: number;
|
|
monitorWindowResize?: boolean;
|
|
disabled?: boolean;
|
|
children: React.ReactElement;
|
|
}
|
|
export interface RefAlign {
|
|
forceAlign: () => void;
|
|
}
|
|
declare const RefAlign: React.ForwardRefExoticComponent<AlignProps & React.RefAttributes<RefAlign>>;
|
|
export default RefAlign;
|