+ Start a Discussion
Rafael Franco Moreno 24Rafael Franco Moreno 24 

css lwc

how can apply CSS on LWC component?

I want to hide the default save and cancel buttons
User-added image
with css but I  get this error: 

LWC1503: Parsing error: /home/sfdc/tools/lwc/2.2.9-234.6/cases.js: Only one default export allowed per module. (31:0) (31:0)

User-added imageI don´t know very well the way to hide that buttons with css, or How can I do it?
Khalid mnKhalid mn
Hi, 
You can achieve this from your html.
try it do from this link
https://salesforce.stackexchange.com/questions/340571/how-to-show-hide-button-based-on-profile-in-salesforce-lwc


Thanks