UNPKG
@shakthillc/components
Version:
latest (1.5.27)
1.5.27
1.5.26
1.5.25
1.5.24
1.5.23
1.5.22
1.5.21
1.5.20
1.5.19
1.5.18
1.5.17
1.5.16
1.5.15
1.5.14
1.5.13
1.5.12
1.5.11
1.5.10
1.5.9
1.5.8
1.5.7
1.5.6
1.5.5
1.5.4
1.5.3
1.5.2
1.5.1
1.5.0
1.4.99
1.4.98
1.4.97
1.4.96
1.4.95
1.4.94
1.4.93
1.4.92
1.4.91
1.4.90
1.4.89
1.4.88
1.4.87
1.4.86
1.4.85
1.4.84
1.4.83
1.4.82
1.4.81
1.4.80
1.4.79
1.4.78
1.4.77
1.4.76
1.4.75
1.4.74
1.4.73
1.4.72
1.4.71
1.4.70
1.4.69
1.4.68
1.4.67
1.4.66
1.4.65
1.4.64
1.4.63
1.4.62
1.4.61
1.4.60
1.4.59
1.4.58
1.4.57
1.4.56
1.4.55
1.4.53
1.4.52
1.4.51
1.4.50
1.4.49
1.4.48
1.4.47
1.4.46
1.4.43
1.4.42
1.4.41
1.4.40
1.4.39
1.4.38
1.4.37
1.4.36
1.4.35
1.4.33
1.4.32
1.4.30
1.4.28
1.4.27
1.4.26
1.4.25
1.4.24
1.4.23
1.4.22
1.4.21
1.4.20
1.4.12
1.4.11
1.4.10
1.4.9
1.4.8
1.4.7
1.4.6
1.4.5
1.4.4
1.4.3
1.4.1
1.4.0
1.3.3
1.3.2
1.3.1
1.2.2
1.2.1
1.2.0
1.1.1
1.1.0
1.0.0
React generic components for shakthi products
@shakthillc/components
/
es
/
Table
/
fakeGenreService.js
7 lines
(6 loc)
•
273 B
JavaScript
View Raw
1
2
3
4
5
6
7
export
var
genres = [{
_id
:
"5b21ca3eeb7f6fbccd471818"
,
name
:
"Action"
}, {
_id
:
"5b21ca3eeb7f6fbccd471814"
,
name
:
"Comedy"
}, {
_id
:
"5b21ca3eeb7f6fbccd471820"
,
name
:
"Thriller"
}];
export
function
getGenres
(
) {
return
genres.
filter
(
function
(
g
) {
return
g; }); }