Skip to content
This repository was archived by the owner on Sep 20, 2024. It is now read-only.

Commit 7a81035

Browse files
Merge pull request #543 from oshima-gangan/fix/textarea-props
fix: Not working props in CTextarea
2 parents 960efd2 + 5713362 commit 7a81035

File tree

1 file changed

+1
-18
lines changed

1 file changed

+1
-18
lines changed

packages/chakra-ui-core/src/CTextarea/CTextarea.js

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ import { inputProps } from '../CInput/utils/input.props'
1212
import { forwardProps, extractListeners } from '../utils'
1313

1414
import CInput from '../CInput'
15-
import { SNA } from '../config/props.types'
1615

1716
/**
1817
* CTextarea component
@@ -31,23 +30,7 @@ const CTextarea = {
3130
},
3231
props: {
3332
...inputProps,
34-
inputValue: String,
35-
py: {
36-
type: SNA,
37-
default: '8px'
38-
},
39-
minHeight: {
40-
type: SNA,
41-
default: '80px'
42-
},
43-
fontFamily: {
44-
type: SNA,
45-
default: 'body'
46-
},
47-
lineHeight: {
48-
type: SNA,
49-
default: 'shorter'
50-
}
33+
inputValue: String
5134
},
5235
render (h, { props, slots, data, listeners, ...rest }) {
5336
// Default styles

0 commit comments

Comments
 (0)