Separated index file into smaller files
Summary: More is more. Just moving code, no further changes. Reviewed By: nikoant Differential Revision: D22374891 fbshipit-source-id: 65c9af8b4b34ee8e16aeae5705528093e1c800cc
This commit is contained in:
committed by
Facebook GitHub Bot
parent
006bf5357f
commit
fbb1c78184
44
desktop/plugins/logs/logComponents.tsx
Normal file
44
desktop/plugins/logs/logComponents.tsx
Normal file
@@ -0,0 +1,44 @@
|
||||
/**
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*
|
||||
* @format
|
||||
*/
|
||||
|
||||
import {Text, colors, Glyph, styled} from 'flipper';
|
||||
|
||||
export const Icon = styled(Glyph)({
|
||||
marginTop: 5,
|
||||
});
|
||||
|
||||
export const HiddenScrollText = styled(Text)({
|
||||
userSelect: 'none',
|
||||
alignSelf: 'baseline',
|
||||
lineHeight: '130%',
|
||||
marginTop: 5,
|
||||
paddingBottom: 3,
|
||||
'&::-webkit-scrollbar': {
|
||||
display: 'none',
|
||||
},
|
||||
});
|
||||
|
||||
export const LogCount = styled.div<{backgroundColor: string}>(
|
||||
({backgroundColor}) => ({
|
||||
backgroundColor,
|
||||
borderRadius: '999em',
|
||||
fontSize: 11,
|
||||
marginTop: 4,
|
||||
minWidth: 16,
|
||||
height: 16,
|
||||
color: colors.white,
|
||||
textAlign: 'center',
|
||||
lineHeight: '16px',
|
||||
paddingLeft: 4,
|
||||
paddingRight: 4,
|
||||
textOverflow: 'ellipsis',
|
||||
overflow: 'hidden',
|
||||
whiteSpace: 'nowrap',
|
||||
}),
|
||||
);
|
||||
Reference in New Issue
Block a user