diff --git a/components/typography/Base.tsx b/components/typography/Base.tsx
index 6b53302b25..30cdee734d 100644
--- a/components/typography/Base.tsx
+++ b/components/typography/Base.tsx
@@ -363,13 +363,15 @@ class Base extends React.Component
);
}
diff --git a/components/typography/Editable.tsx b/components/typography/Editable.tsx
index 3299b3b34e..8e6d37313b 100644
--- a/components/typography/Editable.tsx
+++ b/components/typography/Editable.tsx
@@ -10,6 +10,8 @@ interface EditableProps {
['aria-label']?: string;
onSave: (value: string) => void;
onCancel: () => void;
+ className?: string;
+ style?: React.CSSProperties;
}
interface EditableState {
@@ -106,10 +108,10 @@ class Editable extends React.Component {
render() {
const { current } = this.state;
- const { prefixCls, ['aria-label']: ariaLabel } = this.props;
+ const { prefixCls, ['aria-label']: ariaLabel, className, style } = this.props;
return (
-