Fakultas Ilmu Komputer UI
Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ppl-fasilkom-ui
2020
PPL-C
PPTI-Mobile Apps Monitoring Wabah Tuberkolosis
Neza-Mobile
Commits
f2a50191
Commit
f2a50191
authored
Apr 30, 2020
by
Josh Sudung
Browse files
[REFACTOR] Added identifiers to components
parent
126cda42
Pipeline
#44053
failed with stage
in 9 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/scenes/MonitoringSelection/index.tsx
View file @
f2a50191
...
...
@@ -55,6 +55,7 @@ const MonitoringCaseChoices = (props: MonitoringCaseChoicesProps) => {
<
RadioButton
key
=
{
index
}
>
<
RadioMaster
>
<
RadioButtonInput
id
=
{
`radio-
${
index
}
`
}
obj
=
{
{
label
:
''
,
value
:
val
}
}
index
=
{
index
}
isSelected
=
{
index
===
selectedIndex
}
...
...
@@ -64,6 +65,7 @@ const MonitoringCaseChoices = (props: MonitoringCaseChoicesProps) => {
onPress
=
{
()
=>
onSelectChange
(
val
,
index
)
}
/>
<
TouchableWithoutFeedback
id
=
{
`case-
${
index
}
`
}
onPress
=
{
()
=>
onSelectChange
(
val
,
index
)
}
>
<
ChoiceTag
>
<
ChoiceHeader
>
...
...
@@ -193,6 +195,7 @@ const MonitoringSelection = () => {
<
Field
name
=
"Cari Nama"
placeholder
=
"Cari..."
value
=
{
searchQuery
}
updateValue
=
{
setSearchQuery
}
/>
</
Box
>
...
...
@@ -231,6 +234,7 @@ const MonitoringSelection = () => {
<
Gap
axis
=
{
2
}
gap
=
{
15
}
/>
<
ButtonStyle
>
<
Button
id
=
"navigate-button"
clickable
=
{
selected
}
type
=
{
Button
.
Type
.
Filled
}
onPress
=
{
()
=>
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment