mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-12 23:35:38 +08:00
642bb582eb
* refactor: TextArea * chore: update snapshot * chore: update snapshot * chore: fix lint * chore: classes * refactor: mentions * chore: bump rc-textarea * chore: code clean * chore: code clean * chore: UPDATE SNAPSHOT * chore: code clean * test: cov * fix: textarea size
7 lines
219 B
TypeScript
7 lines
219 B
TypeScript
import type { InputProps } from './Input';
|
|
|
|
// eslint-disable-next-line import/prefer-default-export
|
|
export function hasPrefixSuffix(props: InputProps) {
|
|
return !!(props.prefix || props.suffix || props.allowClear);
|
|
}
|