8 lines
255 B
JavaScript
8 lines
255 B
JavaScript
export default (clickable, attribute, collection, deletable) => () => {
|
|
return collection('[data-test-tokens] [data-test-tabular-row]', {
|
|
id: attribute('data-test-token', '[data-test-token]'),
|
|
token: clickable('a'),
|
|
...deletable(),
|
|
});
|
|
};
|