Device plugin list

Summary:
Render a plugin list

Will add tests once the entire feature is complete

Reviewed By: cekkaewnumchai

Differential Revision: D24079897

fbshipit-source-id: db7250ff612b67ab18dfcacdcb9c44dab596933d
This commit is contained in:
Michel Weststrate
2020-10-20 03:22:15 -07:00
committed by Facebook GitHub Bot
parent c38a4413dc
commit f14a724fa5
10 changed files with 243 additions and 18 deletions

View File

@@ -204,12 +204,13 @@ Object.keys(Layout).forEach((key) => {
const SandySplitContainer = styled.div<{
flex1: number;
flex2: number;
center?: boolean;
flexDirection: CSSProperties['flexDirection'];
}>((props) => ({
display: 'flex',
flex: 1,
flexDirection: props.flexDirection,
alignItems: 'stretch',
alignItems: props.center ? 'center' : 'stretch',
'> :first-child': {
flexGrow: props.flex1,
flexShrink: props.flex1,