UNPKG
antd-v5
Version:
latest (5.14.1)
5.14.1
An enterprise-class UI design language and React components implementation
ant.design
antd-v5
/
lib
/
input
/
utils.js
10 lines
(9 loc)
•
297 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
"use strict"
;
Object
.
defineProperty
(
exports
,
"__esModule"
, {
value
:
true
});
exports
.
hasPrefixSuffix
= hasPrefixSuffix;
// eslint-disable-next-line import/prefer-default-export
function
hasPrefixSuffix
(
props
) {
return
!!(props.
prefix
|| props.
suffix
|| props.
allowClear
|| props.
showCount
); }