Skip to content

Commit

Permalink
Merge pull request #4 from elenitaex5:hf/props-order
Browse files Browse the repository at this point in the history
fix: reorder textinput props
  • Loading branch information
elenitaex5 authored Oct 23, 2023
2 parents 299d605 + db19509 commit 87ca759
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/TextAreaResizable/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ export const TextAreaResizable = (props: TextAreaResizableProps) => {

return (
<TextInput
{...props}
style={{
...(props.style as Object),
padding: 4,
Expand All @@ -84,7 +85,6 @@ export const TextAreaResizable = (props: TextAreaResizableProps) => {
onContentSizeChange={handleContentSizeChange}
editable={props.editable ?? !disabled}
placeholderTextColor={props?.placeholderTextColor ?? 'lightgray'}
{...props}
/>
)
}
Expand Down

0 comments on commit 87ca759

Please sign in to comment.