mendix / docs

Mendix documentation repository
https://docs.mendix.com
Creative Commons Attribution 4.0 International
140 stars 718 forks source link

native-mobile-styling #5593

Closed jasonteunissen closed 1 year ago

jasonteunissen commented 1 year ago

Please use the form below, leaving the prefilled data to help us. Thank you.

Page link: native-mobile-styling

Document link: native-styling-refguide.md

My Issue/Suggestion

I am looking for documentation of the default class names of MxWidgets so that I can change the default. for instance, if I would like to change the floating action button I need to know that the default class is called 'com_mendix_widget_native_floatingactionbutton_FloatingActionButton' It would be nice if the code section in there would contain a styling boilerplate like this:

export const com_mendix_widget_native_floatingactionbutton_FloatingActionButton = {
    container: {
    },
    button: {
    },
    buttonIcon: {
    },
    secondaryButton: {
    },
    secondaryButtonIcon: {
    },
    secondaryButtonCaption: {
    },
    secondaryButtonCaptionContainer: {
    }
};
ConnorLand commented 1 year ago

Hi Jason,

I will check this with our Mendix developers. Thank you for your suggestion!

ConnorLand commented 1 year ago

Hi Jason,

Below each widget you can find the classname. We prefer you use that over a boilerplate, so please use that for reference.

Thank you for your suggestion,

Connor