@pingux/astro 2.66.0 → 2.67.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -25,24 +25,23 @@ var _default = {
|
|
25
25
|
}
|
26
26
|
};
|
27
27
|
exports["default"] = _default;
|
28
|
-
var caption = '
|
29
|
-
var headers = ['
|
28
|
+
var caption = 'Lorem Ipsum';
|
29
|
+
var headers = ['Type', 'Date', 'Additional Grant', 'Total Grant'];
|
30
30
|
var objects = [{
|
31
|
-
|
32
|
-
|
33
|
-
|
31
|
+
type: 'Lorem ipsum',
|
32
|
+
date: '2020-06-12',
|
33
|
+
additional_grant: '+25,000',
|
34
|
+
total_grant: '25,000'
|
34
35
|
}, {
|
35
|
-
|
36
|
-
|
37
|
-
|
36
|
+
type: 'Lorem ipsum',
|
37
|
+
date: '2020-10-01',
|
38
|
+
additional_grant: '+25,000',
|
39
|
+
total_grant: '50,000'
|
38
40
|
}, {
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
country: 'France',
|
44
|
-
population: '67,000,000',
|
45
|
-
continent: 'Europe'
|
41
|
+
type: 'Lorem ipsum',
|
42
|
+
date: '2021-01-01',
|
43
|
+
additional_grant: '+25,000',
|
44
|
+
total_grant: '75,000'
|
46
45
|
}];
|
47
46
|
var Default = function Default() {
|
48
47
|
return (0, _react2.jsx)(_index.Table, null, (0, _react2.jsx)(_index.TableCaption, null, (0, _react2.jsx)(_index.Text, {
|
@@ -58,7 +57,7 @@ var Default = function Default() {
|
|
58
57
|
}))), (0, _react2.jsx)(_index.TableBody, null, (0, _map["default"])(objects).call(objects, function (object) {
|
59
58
|
var _context;
|
60
59
|
return (0, _react2.jsx)(_index.TableRow, {
|
61
|
-
key: object.
|
60
|
+
key: object.date
|
62
61
|
}, (0, _map["default"])(_context = (0, _values["default"])(object)).call(_context, function (value) {
|
63
62
|
return (0, _react2.jsx)(_index.TableCell, {
|
64
63
|
key: value
|
@@ -16,24 +16,23 @@ export default {
|
|
16
16
|
}
|
17
17
|
}
|
18
18
|
};
|
19
|
-
var caption = '
|
20
|
-
var headers = ['
|
19
|
+
var caption = 'Lorem Ipsum';
|
20
|
+
var headers = ['Type', 'Date', 'Additional Grant', 'Total Grant'];
|
21
21
|
var objects = [{
|
22
|
-
|
23
|
-
|
24
|
-
|
22
|
+
type: 'Lorem ipsum',
|
23
|
+
date: '2020-06-12',
|
24
|
+
additional_grant: '+25,000',
|
25
|
+
total_grant: '25,000'
|
25
26
|
}, {
|
26
|
-
|
27
|
-
|
28
|
-
|
27
|
+
type: 'Lorem ipsum',
|
28
|
+
date: '2020-10-01',
|
29
|
+
additional_grant: '+25,000',
|
30
|
+
total_grant: '50,000'
|
29
31
|
}, {
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
country: 'France',
|
35
|
-
population: '67,000,000',
|
36
|
-
continent: 'Europe'
|
32
|
+
type: 'Lorem ipsum',
|
33
|
+
date: '2021-01-01',
|
34
|
+
additional_grant: '+25,000',
|
35
|
+
total_grant: '75,000'
|
37
36
|
}];
|
38
37
|
export var Default = function Default() {
|
39
38
|
return ___EmotionJSX(Table, null, ___EmotionJSX(TableCaption, null, ___EmotionJSX(Text, {
|
@@ -49,7 +48,7 @@ export var Default = function Default() {
|
|
49
48
|
}))), ___EmotionJSX(TableBody, null, _mapInstanceProperty(objects).call(objects, function (object) {
|
50
49
|
var _context;
|
51
50
|
return ___EmotionJSX(TableRow, {
|
52
|
-
key: object.
|
51
|
+
key: object.date
|
53
52
|
}, _mapInstanceProperty(_context = _Object$values(object)).call(_context, function (value) {
|
54
53
|
return ___EmotionJSX(TableCell, {
|
55
54
|
key: value
|