import type { RadioGroupItem } from './radio-group'; export const getOptions = (name = 'group1') => { const value1 = 'option1'; const value2 = 'option2'; const value3 = 'option3'; const value4 = 'option4'; const value5 = 'option5'; const options: RadioGroupItem[] = [ { id: `${name}-${value1}`, label: 'Option 1', value: value1, }, { id: `${name}-${value2}`, label: 'Option 2', value: value2, }, { id: `${name}-${value3}`, label: 'Option 3', value: value3, }, { id: `${name}-${value4}`, label: 'Option 4', value: value4, }, { id: `${name}-${value5}`, label: 'Option 5', value: value5, }, ]; return options; }; export const initialChoice = 'option2'; ww.armandphilippot.com
The frontend of my personal website.Armand Philippot
summaryrefslogtreecommitdiffstats
path: root/public/prism/prism-dot.js
blob: c6cd1708acd775e9dd614e78ff24e712c49bdf05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86