10 lines
308 B
TypeScript
10 lines
308 B
TypeScript
// Wrapper for the Vega Lite component
|
|
import { VegaLite as VegaLiteOg } from "react-vega";
|
|
import applyFullWidthDirective from "../lib/applyFullWidthDirective";
|
|
|
|
export function VegaLite(props) {
|
|
const Component = applyFullWidthDirective({ Component: VegaLiteOg });
|
|
|
|
return <Component {...props} />;
|
|
}
|