function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Rajesh B 76Rajesh B 76 

how to change the button colour

change button colour
Best Answer chosen by Rajesh B 76
B KarthickeyanB Karthickeyan
You can't change the lightning button color instead, you can use the normal button tag and you can achieve the same
<button  name={item.id} style="fill: #FF5651;background-color:#FF5651;" onclick={removeRow}>Delete Location</button>

All Answers

B KarthickeyanB Karthickeyan
You can't change the lightning button color instead, you can use the normal button tag and you can achieve the same
<button  name={item.id} style="fill: #FF5651;background-color:#FF5651;" onclick={removeRow}>Delete Location</button>
This was selected as the best answer
Rajesh B 76Rajesh B 76
its working well as i expected