Skip to content

Commit 781a1ff

Browse files
ablakeylayershifter
authored andcommitted
docs(Search): fix wrong description for input shorthand (#3727)
* Fix wrong documentation for Search `input`. * Update Search.d.ts
1 parent f50550c commit 781a1ff

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/modules/Search/Search.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ export interface StrictSearchProps {
143143
/** A search can have its results take up the width of its container. */
144144
fluid?: boolean
145145

146-
/** A search input can take up the width of its container. */
146+
/** Shorthand for input element. */
147147
input?: SemanticShorthandItem<InputProps>
148148

149149
/** A search can show a loading indicator. */

src/modules/Search/Search.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ export default class Search extends Component {
167167
/** A search can have its results take up the width of its container. */
168168
fluid: PropTypes.bool,
169169

170-
/** A search input can take up the width of its container. */
170+
/** Shorthand for input element. */
171171
input: customPropTypes.itemShorthand,
172172

173173
/** A search can show a loading indicator. */

0 commit comments

Comments
 (0)