@@ -13,31 +13,97 @@ const Stack = (props: React.PropsWithChildren<{ horizontal?: boolean }>) => {
13
13
14
14
export const ImageAppearanceShape = ( ) => (
15
15
< Stack horizontal >
16
- < Image alt = "Ade's avatar" src = "images/avatar/ade.jpg" height = { 200 } width = { 200 } />
17
- < Image alt = "Chris's avatar" rounded src = "images/avatar/chris.jpg" height = { 200 } width = { 200 } />
18
- < Image alt = "Laura's avatar" circular src = "images/avatar/laura.jpg" height = { 200 } width = { 200 } />
16
+ < Image
17
+ alt = "Ade's avatar"
18
+ src = "https://fabricweb.azureedge.net/fabric-website/assets/images/avatar/large/ade.jpg"
19
+ height = { 200 }
20
+ width = { 200 }
21
+ />
22
+ < Image
23
+ alt = "Chris's avatar"
24
+ rounded
25
+ src = "https://fabricweb.azureedge.net/fabric-website/assets/images/avatar/large/chris.jpg"
26
+ height = { 200 }
27
+ width = { 200 }
28
+ />
29
+ < Image
30
+ alt = "Laura's avatar"
31
+ circular
32
+ src = "https://fabricweb.azureedge.net/fabric-website/assets/images/avatar/large/laura.jpg"
33
+ height = { 200 }
34
+ width = { 200 }
35
+ />
19
36
</ Stack >
20
37
) ;
21
38
22
39
export const ImageVariationsBorder = ( ) => (
23
40
< Stack horizontal >
24
41
< Stack horizontal >
25
- < Image alt = "Ade's avatar" src = "images/avatar/ade.jpg" height = { 200 } width = { 200 } />
26
- < Image alt = "Chris's avatar" rounded src = "images/avatar/chris.jpg" height = { 200 } width = { 200 } />
27
- < Image alt = "Laura's avatar" circular src = "images/avatar/laura.jpg" height = { 200 } width = { 200 } />
42
+ < Image
43
+ alt = "Ade's avatar"
44
+ src = "https://fabricweb.azureedge.net/fabric-website/assets/images/avatar/large/ade.jpg"
45
+ height = { 200 }
46
+ width = { 200 }
47
+ />
48
+ < Image
49
+ alt = "Chris's avatar"
50
+ rounded
51
+ src = "https://fabricweb.azureedge.net/fabric-website/assets/images/avatar/large/chris.jpg"
52
+ height = { 200 }
53
+ width = { 200 }
54
+ />
55
+ < Image
56
+ alt = "Laura's avatar"
57
+ circular
58
+ src = "https://fabricweb.azureedge.net/fabric-website/assets/images/avatar/large/laura.jpg"
59
+ height = { 200 }
60
+ width = { 200 }
61
+ />
28
62
</ Stack >
29
63
< Stack horizontal >
30
- < Image alt = "Ade's avatar" bordered src = "images/avatar/ade.jpg" height = { 200 } width = { 200 } />
31
- < Image alt = "Chris's avatar" bordered rounded src = "images/avatar/chris.jpg" height = { 200 } width = { 200 } />
32
- < Image alt = "Laura's avatar" bordered circular src = "images/avatar/laura.jpg" height = { 200 } width = { 200 } />
64
+ < Image
65
+ alt = "Ade's avatar"
66
+ bordered
67
+ src = "https://fabricweb.azureedge.net/fabric-website/assets/images/avatar/large/ade.jpg"
68
+ height = { 200 }
69
+ width = { 200 }
70
+ />
71
+ < Image
72
+ alt = "Chris's avatar"
73
+ bordered
74
+ rounded
75
+ src = "https://fabricweb.azureedge.net/fabric-website/assets/images/avatar/large/chris.jpg"
76
+ height = { 200 }
77
+ width = { 200 }
78
+ />
79
+ < Image
80
+ alt = "Laura's avatar"
81
+ bordered
82
+ circular
83
+ src = "https://fabricweb.azureedge.net/fabric-website/assets/images/avatar/large/laura.jpg"
84
+ height = { 200 }
85
+ width = { 200 }
86
+ />
33
87
</ Stack >
34
88
</ Stack >
35
89
) ;
36
90
37
91
export const ImageVariationsFallback = ( ) => (
38
92
< Stack horizontal >
39
- < Image alt = "Ade's avatar" bordered src = "images/avatar/ade.jpg" height = { 200 } width = { 200 } />
40
- < Image alt = "Non-existing avatar" bordered src = "images/avatar/non-existing-png.jpg" height = { 200 } width = { 200 } />
93
+ < Image
94
+ alt = "Ade's avatar"
95
+ bordered
96
+ src = "https://fabricweb.azureedge.net/fabric-website/assets/images/avatar/large/ade.jpg"
97
+ height = { 200 }
98
+ width = { 200 }
99
+ />
100
+ < Image
101
+ alt = "Non-existing avatar"
102
+ bordered
103
+ src = "https://fabricweb.azureedge.net/fabric-website/assets/images/avatar/large/non-existing-png.jpg"
104
+ height = { 200 }
105
+ width = { 200 }
106
+ />
41
107
</ Stack >
42
108
) ;
43
109
0 commit comments