Skip to content

Commit

Permalink
feat(ffe-tables-react): rewrite of component
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Compent API is new
  • Loading branch information
Peter Hellstrand committed Jul 18, 2024
1 parent 1a4372b commit 452faa5
Show file tree
Hide file tree
Showing 39 changed files with 856 additions and 2,104 deletions.
8 changes: 2 additions & 6 deletions packages/ffe-tables-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,10 @@
"test:watch": "ffe-buildtool jest --watch"
},
"dependencies": {
"@sb1/ffe-collapse-react": "^4.0.9",
"@sb1/ffe-icons-react": "^11.0.0",
"@sb1/ffe-tables": "^14.0.24",
"classnames": "^2.3.1",
"deep-equal": "^1.0.1",
"memoize-one": "^5.0.0",
"prop-types": "^15.7.2",
"react-lifecycles-compat": "^3.0.4",
"shallow-equals": "^1.0.0"
"classnames": "^2.3.1"
},
"devDependencies": {
"@sb1/ffe-buildtool": "^0.6.4",
Expand Down
14 changes: 14 additions & 0 deletions packages/ffe-tables-react/src/CellContent.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import React from 'react';
import classNames from 'classnames';

export const CellContent: React.FC<React.ComponentPropsWithoutRef<'div'>> = ({
className,
...rest
}) => {
return (
<div
className={classNames('ffe-table__cell-content', className)}
{...rest}
/>
);
};
197 changes: 0 additions & 197 deletions packages/ffe-tables-react/src/DefaultTable/DefaultTable.js

This file was deleted.

Loading

0 comments on commit 452faa5

Please sign in to comment.