Skip to content

[Office Hours] List Row Stylings #108

Discussion options

You must be logged in to vote

Solved it! For reference, here is how I was able to achieve my desired styling:

Resources that helped me:

Section(content: {
	PatientDetailButton(
		isShowing: $isShowingBloodTransfusionList,
		buttonText: "Get Blood Transfusion",
		buttonIcon: "syringe",
		buttonTint: .red
	)
	
	PatientDetailButton(
		isShowing: $isShowingPrescribeMedicationForm,
		buttonText: "Prescribe Medication",
		buttonIcon: "pills",
		buttonTint: .blue
	)
})
.listRowBackground(Color.clear)
.listRowSeparator(.hidden)
.padding([.leading, .trailing], -20)
.sheet(isPresented: $isShowingPrescribeMedicationForm, …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@vishnuravi
Comment options

Answer selected by kkellybonilla
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants