Skip to content

Commit

Permalink
fix(Input): Improve descriptions for inputWrapperStyle and `contain…
Browse files Browse the repository at this point in the history
…erStyle` props. (#1594)
  • Loading branch information
silvalaura authored Dec 11, 2024
1 parent 816a230 commit e432f97
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/input-props.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'react-magma-dom': patch
---

fix(Input): Improve descriptions for `inputWrapperStyle` and `containerStyle` props.
5 changes: 3 additions & 2 deletions packages/react-magma-dom/src/components/InputBase/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ export interface InputBaseProps
*/
children?: any;
/**
* Style properties for the component container element
* Style properties for the component container element.
* This div is a direct child of the div with the inputWrapperStyle, so the second from the top.
*/
containerStyle?: React.CSSProperties;
/**
Expand Down Expand Up @@ -81,7 +82,7 @@ export interface InputBaseProps
*/
inputStyle?: React.CSSProperties;
/**
* Style properties for input wrapper element
* Style properties for input wrapper element. This is the outermost div.
*/
inputWrapperStyle?: React.CSSProperties;
/**
Expand Down

2 comments on commit e432f97

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.