wix-style-react
Version:
wix-style-react
23 lines (20 loc) • 572 B
JavaScript
import React from 'react';
import TableActionCell from 'wix-style-react/TableActionCell';
import style from '../TableActionCell.story.st.css';
var Example = function Example() {
return React.createElement(
'div',
{ className: style.exampleRow },
React.createElement(TableActionCell, {
dataHook: 'story-primary-white',
primaryAction: {
text: 'Edit',
theme: 'whiteblue',
onClick: function onClick() {
return window.alert('Primary action was triggered!');
}
}
})
);
};
export default Example;