fix: 表单类组件和代码高亮组件支持style响应式 (#6001)

* fix(InputImage): 细节调整

* fix: 统一组件style属性ts校验格式

* fix: 表单组件和面板组件style设置细节完善

* fix: 表单类组件和代码高亮组件支持style响应式
This commit is contained in:
刘丹 2022-12-29 20:44:34 +08:00 committed by GitHub
parent b428325895
commit 4c568d2592
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -1489,6 +1489,7 @@ export const detectProps = [
'addOn',
'btnClassName',
'btnLabel',
'style',
'btnDisabled',
'className',
'clearable',

View File

@ -156,7 +156,8 @@ export default class Code extends React.Component<CodeProps> {
'editorTheme',
'tabSize',
'wordWrap',
'customLang'
'customLang',
'style'
];
static defaultProps: Partial<CodeProps> = {