Fakultas Ilmu Komputer UI

Commit f2a50191 authored by Josh Sudung's avatar Josh Sudung
Browse files

[REFACTOR] Added identifiers to components

parent 126cda42
......@@ -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={() => {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment