Standardize CodeBlock component

Summary:
Code blocks are quite common in Flipper, and a bit verbose in Ant, so let's standardize!

Changelog: Standardize CodeBlock component

Reviewed By: passy

Differential Revision: D28117560

fbshipit-source-id: 5a5538a49b59ef40c814d22055fac56e7598cbbb
This commit is contained in:
Michel Weststrate
2021-05-04 13:49:11 -07:00
committed by Facebook GitHub Bot
parent dd7a9f5195
commit 5bf9541e05
8 changed files with 48 additions and 11 deletions

View File

@@ -78,7 +78,7 @@ const StyledCollapse = styled(Collapse)({
padding: `5px 0px`,
left: 8,
fontSize: '10px',
fontWeight: 'bold',
fontWeight: theme.bold,
},
},
'& > .ant-collapse-item': {