Skip to content

Commit 483143a

Browse files
author
kongshan
committed
feat: renamed Props to ellipsisTextProps
1 parent 89d107f commit 483143a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/ellipsisText/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React, { PureComponent } from "react";
22
import { Tooltip } from "antd";
33
import Resize from '../resize';
44

5-
export interface Props {
5+
export interface EllipsisTextProps {
66
value: string | number ;
77
title?: string | number;
88
className?: string;
@@ -22,7 +22,7 @@ export interface NewHTMLElement extends HTMLElement {
2222
currentStyle?: CSSStyleDeclaration
2323
}
2424

25-
export default class EllipsisText extends PureComponent<Props, State> {
25+
export default class EllipsisText extends PureComponent<EllipsisTextProps, State> {
2626
ellipsisRef: HTMLElement | null = null;
2727
state = {
2828
...initialState

0 commit comments

Comments
 (0)