adui
Version:
<div> <img src="https://wxa.wxs.qq.com/mpweb/delivery/legacy/wxadtouch/upload/t1/od834zef_52939fc6.png" style="margin:40px 0 0 -8px; background-color: #fcfcfc; box-shadow: none;" /> </div>
25 lines (21 loc) • 421 B
Markdown
order: 3
title:
zh-CN: 内容自适应宽度
en-US: contentJustify
`contentJustify` 内容自适应宽度:
```jsx
const [value, setValue] = useState("contentJustify")
return (
<Input
size="large"
contentJustify
rightElement={<Icon icon="edit-outlined" />}
className="min-w-100"
theme="light"
onChange={({ target: { value: val } }) => setValue(val)}
value={value}
/>
)
```