paragon icon indicating copy to clipboard operation
paragon copied to clipboard

Remove react-bootstrap dependency from `Card` component

Open viktorrusakov opened this issue 1 year ago • 0 comments

Currently Paragon inherits from react-bootstrap's Card which will become a problem after removing compound components (#2464) because their Card also has a multiple of compound components defined which will get into consuming applications' bundle without a single usage. Furthermore, we have completely customized Card's behaviour by building our own subcomponents, which resulted in not using anything from react-bootstrap besides Card wrapper. It doesn't make much sense anymore to re-use react-bootstrap's Card.

### Tasks
- [ ] Ensure that Paragon no longer extends react-bootstrap's `Card` component and instead implements its own version.
- [ ] Validate that new `Card` implementation does not change the API and visual display of the component.

viktorrusakov avatar Jul 28 '23 06:07 viktorrusakov