How create a warningand success buttons in each row of tabulator

hi,

could you please help me to create a warning& success in each row of Tabulator.
I tried several tries but nothing worked.
please find what i tried:

"formatter": "function(cell, formatterParams, onRendered){return '<button class=\"md-raised md-button md-warn  \">Activate</button>'; }"
"formatter": "function(cell, formatterParams, onRendered){return '<button type="button" mdbBtn color="success" mdbWavesEffect>Success</button>'; }"

thank you