wix-style-react
Version:
21 lines (17 loc) • 481 B
JavaScript
import React from 'react';
import { classes } from '../TableActionCell.story.st.css';
import { TableActionCell } from 'wix-style-react';
const Example = () => (
<div className={classes.exampleRow}>
<TableActionCell
dataHook="story-primary-disabled"
primaryAction={{
text: 'Edit',
disabled: true,
skin: 'standard',
onClick: () => window.alert('Primary action was triggered!'),
}}
/>
</div>
);
export default Example;