19 lines
565 B
TypeScript
19 lines
565 B
TypeScript
import * as React from 'react';
|
|
|
|
type StyleClassSelectorType = '@next' | '@prev' | '@parent' | '@grandparent' | string;
|
|
|
|
export interface StyleClassProps {
|
|
nodeRef?: React.ReactNode;
|
|
selector?: StyleClassSelectorType;
|
|
enterClassName?: string;
|
|
enterActiveClassName?: string;
|
|
enterToClassName?: string;
|
|
leaveClassName?: string;
|
|
leaveActiveClassName?: string;
|
|
leaveToClassName?: string;
|
|
hideOnOutsideClick?: boolean;
|
|
toggleClassName?: string;
|
|
}
|
|
|
|
export declare class StyleClass extends React.Component<StyleClassProps, any> { }
|