[COMPASS-6242] Code Editors: Add CodeFrame component to compass-components Created: 26/Oct/22 Updated: 27/Oct/23 Resolved: 01/Jun/23 |
|
| Status: | Closed |
| Project: | Compass |
| Component/s: | UI / UX |
| Affects Version/s: | None |
| Fix Version/s: | No version |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Sergey Petushkov | Assignee: | Unassigned |
| Resolution: | Gone away | Votes: | 0 |
| Labels: | code-editors | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Documentation Changes: | Not Needed |
| Description |
|
CodeFrame component is copied over Code component from leafygreen with all code highlighting stuff removed: this component should just be able to render the frame around the code similarly to leafygreen component while allowing us to pass any valid React children to it, not only text |