-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ffe-tables-react): rewrite of component
BREAKING CHANGE: Compent API is new
- Loading branch information
Peter Hellstrand
committed
Jul 18, 2024
1 parent
1a4372b
commit 452faa5
Showing
39 changed files
with
856 additions
and
2,104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
197
packages/ffe-tables-react/src/DefaultTable/DefaultTable.js
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.