@orchestrator-ui/orchestrator-ui-components
Version:
Library of UI Components used to display the workflow orchestrator frontend
37 lines (31 loc) • 736 B
text/typescript
import { css } from '@emotion/react';
export const getWfoArrayFieldStyles = () => {
const container = css({
border: 'thin solid #eee',
padding: '1rem',
display: 'flex',
flexDirection: 'column',
flexGrow: 1,
});
const fieldWrapper = css({
display: 'flex',
gap: '10px',
alignItems: 'center',
});
const minusButton = css({
width: '40px',
cursor: 'pointer',
marginBottom: '12px',
});
const plusButtonWrapper = css({
display: 'flex',
cursor: 'pointer',
justifyContent: 'end',
});
return {
container,
fieldWrapper,
minusButton,
plusButtonWrapper,
};
};