|
@@ -43,27 +43,31 @@ export const BottomSolt = () => (
|
|
|
<div>
|
|
<div>
|
|
|
<Avatar shape="circle" border={true} bottomSlot={{
|
|
<Avatar shape="circle" border={true} bottomSlot={{
|
|
|
shape:'circle',
|
|
shape:'circle',
|
|
|
- content:<IconPlus/>
|
|
|
|
|
- }}>U</Avatar>
|
|
|
|
|
|
|
+ text:<IconPlus/>
|
|
|
|
|
+ }}
|
|
|
|
|
+ onClick={(e) => {console.log('on click')}}
|
|
|
|
|
+ onMouseEnter={(e) => {console.log('on mouse enter')}}
|
|
|
|
|
+ onMouseLeave={(e) => {console.log('onMouse leave')}}
|
|
|
|
|
+ >U</Avatar>
|
|
|
<Avatar shape="circle" size={'large'} border={true} bottomSlot={{
|
|
<Avatar shape="circle" size={'large'} border={true} bottomSlot={{
|
|
|
shape:'circle',
|
|
shape:'circle',
|
|
|
- content:<IconPlus/>
|
|
|
|
|
|
|
+ text:<IconPlus/>
|
|
|
}}>U</Avatar>
|
|
}}>U</Avatar>
|
|
|
<Avatar shape="circle" size={'small'} border={true} bottomSlot={{
|
|
<Avatar shape="circle" size={'small'} border={true} bottomSlot={{
|
|
|
shape:'circle',
|
|
shape:'circle',
|
|
|
- content:<IconPlus/>
|
|
|
|
|
|
|
+ text:<IconPlus/>
|
|
|
}}>U</Avatar>
|
|
}}>U</Avatar>
|
|
|
<Avatar shape="circle" bottomSlot={{
|
|
<Avatar shape="circle" bottomSlot={{
|
|
|
shape:'square',
|
|
shape:'square',
|
|
|
- content: "直播中"
|
|
|
|
|
|
|
+ text: "直播中"
|
|
|
}}>U</Avatar>
|
|
}}>U</Avatar>
|
|
|
<Avatar shape="circle" size={"large"} bottomSlot={{
|
|
<Avatar shape="circle" size={"large"} bottomSlot={{
|
|
|
shape:'square',
|
|
shape:'square',
|
|
|
- content: "直播中"
|
|
|
|
|
|
|
+ text: "直播中"
|
|
|
}}>U</Avatar>
|
|
}}>U</Avatar>
|
|
|
<Avatar shape="circle" bottomSlot={{
|
|
<Avatar shape="circle" bottomSlot={{
|
|
|
shape:'rect',
|
|
shape:'rect',
|
|
|
- content: "直播中",
|
|
|
|
|
|
|
+ text: "直播中",
|
|
|
render:()=>{
|
|
render:()=>{
|
|
|
return "test"
|
|
return "test"
|
|
|
}
|
|
}
|
|
@@ -76,80 +80,80 @@ export const TopSolt = () => (
|
|
|
<div>
|
|
<div>
|
|
|
<div>
|
|
<div>
|
|
|
<Avatar shape="circle" size={"extra-extra-small"} border={true} topSlot={{
|
|
<Avatar shape="circle" size={"extra-extra-small"} border={true} topSlot={{
|
|
|
- content:"直播",
|
|
|
|
|
|
|
+ text:"直播",
|
|
|
gradientStart:"rgb(255,23,100)",
|
|
gradientStart:"rgb(255,23,100)",
|
|
|
gradientEnd:"rgb(237,52,148)"
|
|
gradientEnd:"rgb(237,52,148)"
|
|
|
}}>U</Avatar>
|
|
}}>U</Avatar>
|
|
|
<Avatar shape="circle" size={"extra-small"} border={true} topSlot={{
|
|
<Avatar shape="circle" size={"extra-small"} border={true} topSlot={{
|
|
|
- content:"直播"
|
|
|
|
|
|
|
+ text:"直播"
|
|
|
}}>U</Avatar>
|
|
}}>U</Avatar>
|
|
|
<Avatar shape="square" size={"default"} border={true} topSlot={{
|
|
<Avatar shape="square" size={"default"} border={true} topSlot={{
|
|
|
- content:"直播"
|
|
|
|
|
|
|
+ text:"直播"
|
|
|
}}>U</Avatar>
|
|
}}>U</Avatar>
|
|
|
<Avatar shape="circle" size={"medium"} border={true} topSlot={{
|
|
<Avatar shape="circle" size={"medium"} border={true} topSlot={{
|
|
|
- content:"直播"
|
|
|
|
|
|
|
+ text:"直播"
|
|
|
}}>U</Avatar>
|
|
}}>U</Avatar>
|
|
|
<Avatar shape="circle" size={"large"} borderMotion={true} border={true} topSlot={{
|
|
<Avatar shape="circle" size={"large"} borderMotion={true} border={true} topSlot={{
|
|
|
- content:"直播"
|
|
|
|
|
|
|
+ text:"直播"
|
|
|
}} bottomSlot={{
|
|
}} bottomSlot={{
|
|
|
- content:"T",
|
|
|
|
|
|
|
+ text:"T",
|
|
|
shape:"circle"
|
|
shape:"circle"
|
|
|
}} contentMotion={true}>U</Avatar>
|
|
}} contentMotion={true}>U</Avatar>
|
|
|
<br/>
|
|
<br/>
|
|
|
<Avatar shape="square" size={"extra-extra-small"} border={true} topSlot={{
|
|
<Avatar shape="square" size={"extra-extra-small"} border={true} topSlot={{
|
|
|
- content:"直播"
|
|
|
|
|
|
|
+ text:"直播"
|
|
|
}}>U</Avatar>
|
|
}}>U</Avatar>
|
|
|
<Avatar shape="square" size={"extra-small"} border={true} topSlot={{
|
|
<Avatar shape="square" size={"extra-small"} border={true} topSlot={{
|
|
|
- content:"直播"
|
|
|
|
|
|
|
+ text:"直播"
|
|
|
}}>U</Avatar>
|
|
}}>U</Avatar>
|
|
|
<Avatar shape="square" size={"default"} border={true} topSlot={{
|
|
<Avatar shape="square" size={"default"} border={true} topSlot={{
|
|
|
- content:"直播"
|
|
|
|
|
|
|
+ text:"直播"
|
|
|
}}>U</Avatar>
|
|
}}>U</Avatar>
|
|
|
<Avatar shape="square" size={"medium"} border={true} topSlot={{
|
|
<Avatar shape="square" size={"medium"} border={true} topSlot={{
|
|
|
- content:"直播"
|
|
|
|
|
|
|
+ text:"直播"
|
|
|
}}>U</Avatar>
|
|
}}>U</Avatar>
|
|
|
<Avatar shape="square" size={"large"} borderMotion={true} border={true} topSlot={{
|
|
<Avatar shape="square" size={"large"} borderMotion={true} border={true} topSlot={{
|
|
|
- content:"直播"
|
|
|
|
|
|
|
+ text:"直播"
|
|
|
}} bottomSlot={{
|
|
}} bottomSlot={{
|
|
|
- content:"T",
|
|
|
|
|
|
|
+ text:"T",
|
|
|
shape:"circle"
|
|
shape:"circle"
|
|
|
}}>U</Avatar>
|
|
}}>U</Avatar>
|
|
|
<br/>
|
|
<br/>
|
|
|
<Avatar shape="circle" size={"extra-extra-small"} border={false} topSlot={{
|
|
<Avatar shape="circle" size={"extra-extra-small"} border={false} topSlot={{
|
|
|
- content:"直播"
|
|
|
|
|
|
|
+ text:"直播"
|
|
|
}}>U</Avatar>
|
|
}}>U</Avatar>
|
|
|
<Avatar shape="circle" size={"extra-small"} border={false} topSlot={{
|
|
<Avatar shape="circle" size={"extra-small"} border={false} topSlot={{
|
|
|
- content:"直播"
|
|
|
|
|
|
|
+ text:"直播"
|
|
|
}}>U</Avatar>
|
|
}}>U</Avatar>
|
|
|
<Avatar shape="square" size={"default"} border={false} topSlot={{
|
|
<Avatar shape="square" size={"default"} border={false} topSlot={{
|
|
|
- content:"直播"
|
|
|
|
|
|
|
+ text:"直播"
|
|
|
}}>U</Avatar>
|
|
}}>U</Avatar>
|
|
|
<Avatar shape="circle" size={"medium"} border={false} topSlot={{
|
|
<Avatar shape="circle" size={"medium"} border={false} topSlot={{
|
|
|
- content:"直播"
|
|
|
|
|
|
|
+ text:"直播"
|
|
|
}}>U</Avatar>
|
|
}}>U</Avatar>
|
|
|
<Avatar shape="circle" size={"large"} borderMotion={true} border={false} topSlot={{
|
|
<Avatar shape="circle" size={"large"} borderMotion={true} border={false} topSlot={{
|
|
|
- content:"直播"
|
|
|
|
|
|
|
+ text:"直播"
|
|
|
}} bottomSlot={{
|
|
}} bottomSlot={{
|
|
|
- content:"T",
|
|
|
|
|
|
|
+ text:"T",
|
|
|
shape:"circle"
|
|
shape:"circle"
|
|
|
}}>U</Avatar>
|
|
}}>U</Avatar>
|
|
|
<br/>
|
|
<br/>
|
|
|
<Avatar shape="square" size={"extra-extra-small"} border={false} topSlot={{
|
|
<Avatar shape="square" size={"extra-extra-small"} border={false} topSlot={{
|
|
|
- content:"直播"
|
|
|
|
|
|
|
+ text:"直播"
|
|
|
}}>U</Avatar>
|
|
}}>U</Avatar>
|
|
|
<Avatar shape="square" size={"extra-small"} border={false} topSlot={{
|
|
<Avatar shape="square" size={"extra-small"} border={false} topSlot={{
|
|
|
- content:"直播"
|
|
|
|
|
|
|
+ text:"直播"
|
|
|
}}>U</Avatar>
|
|
}}>U</Avatar>
|
|
|
<Avatar shape="square" size={"default"} border={false} topSlot={{
|
|
<Avatar shape="square" size={"default"} border={false} topSlot={{
|
|
|
- content:"直播"
|
|
|
|
|
|
|
+ text:"直播"
|
|
|
}}>U</Avatar>
|
|
}}>U</Avatar>
|
|
|
<Avatar shape="square" size={"medium"} border={false} topSlot={{
|
|
<Avatar shape="square" size={"medium"} border={false} topSlot={{
|
|
|
- content:"直播"
|
|
|
|
|
|
|
+ text:"直播"
|
|
|
}}>U</Avatar>
|
|
}}>U</Avatar>
|
|
|
<Avatar shape="square" size={"large"} borderMotion={true} border={false} topSlot={{
|
|
<Avatar shape="square" size={"large"} borderMotion={true} border={false} topSlot={{
|
|
|
- content:"直播"
|
|
|
|
|
|
|
+ text:"直播"
|
|
|
}} bottomSlot={{
|
|
}} bottomSlot={{
|
|
|
- content:"T",
|
|
|
|
|
|
|
+ text:"T",
|
|
|
shape:"circle"
|
|
shape:"circle"
|
|
|
}}>U</Avatar>
|
|
}}>U</Avatar>
|
|
|
</div>
|
|
</div>
|
|
@@ -176,7 +180,7 @@ export const GroupSize = () => (
|
|
|
<div>
|
|
<div>
|
|
|
<p>medium</p>
|
|
<p>medium</p>
|
|
|
<AvatarGroup>
|
|
<AvatarGroup>
|
|
|
- <Avatar color="red" topSlot={{content:"T"}} bottomSlot={{content:"T"}}>LL</Avatar>
|
|
|
|
|
|
|
+ <Avatar color="red" topSlot={{text:"T"}} bottomSlot={{text:"T"}}>LL</Avatar>
|
|
|
<Avatar>CX</Avatar>
|
|
<Avatar>CX</Avatar>
|
|
|
<Avatar size="default">CX</Avatar>
|
|
<Avatar size="default">CX</Avatar>
|
|
|
<Avatar color="amber">RM</Avatar>
|
|
<Avatar color="amber">RM</Avatar>
|