✨ feat(edit-vendor-modal): add icon-library reference link & tidy status switch
Highlights • Introduced `Typography.Text` link with `IconLink` in `extraText` for the **icon** field, pointing to LobeHub’s full icon catalogue; only “请点击我” is clickable for clarity. • Added required imports for `Typography` and `IconLink`. • Removed unnecessary `size="large"` prop from the status `Form.Switch` to align with default form styling. These tweaks improve user guidance when selecting vendor icons and refine the modal’s visual consistency.
This commit is contained in:
@@ -115,7 +115,7 @@ const renderEndpoints = (text) => {
|
||||
return renderLimitedItems({
|
||||
items: arr,
|
||||
renderItem: (ep, idx) => (
|
||||
<Tag key={idx} color="blue" size="small" shape='circle'>
|
||||
<Tag key={idx} color="white" size="small" shape='circle'>
|
||||
{ep}
|
||||
</Tag>
|
||||
),
|
||||
@@ -128,7 +128,7 @@ const renderBoundChannels = (channels) => {
|
||||
return renderLimitedItems({
|
||||
items: channels,
|
||||
renderItem: (c, idx) => (
|
||||
<Tag key={idx} color="purple" size="small" shape='circle'>
|
||||
<Tag key={idx} color="white" size="small" shape='circle'>
|
||||
{c.name}({c.type})
|
||||
</Tag>
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user