module.exports = require("marko/legacy-components").defineComponent({
    template: require("./template.marko"),
    getInitialState: function(input) {
        return {
            buttonSize: input.buttonSize || "normal"
        };
    },
    getTemplateData: function(state) {
        return {
            buttonSize: state.buttonSize
        };
    },

    setButtonSize: function(size) {
        this.setState("buttonSize", size);
    },
    init: function() {}
});
