Files
nebula.js/commands/serve/web/components/Cell.jsx
Christoffer Åström a57abf1ead refactor: internal packages structure (#94)
* refactor: internal packages structure

* refactor: internal packages structure
2019-08-27 09:57:04 +02:00

30 lines
534 B
JavaScript

import React from 'react';
import {
Grid,
Card,
} from '@nebula.js/ui/components';
import Chart from './Chart';
export default function ({
object,
onSelected,
}) {
return (
<Card style={{ minHeight: 400, position: 'relative', overflow: 'visible' }}>
<Grid
container
style={{
position: 'absolute',
height: '100%',
}}
>
<Grid item xs={12}>
<Chart id={object.qInfo.qId} onSelected={onSelected} />
</Grid>
</Grid>
</Card>
);
}