
// Import framework for use in our examples.
import framework from '../framework/index.js';

// Expose all framework components to the JSX in our examples.
Object.keys(framework).forEach((key) => {
  const component = framework[key];
  window[key] = component;
});

import GridExample from './components/Grid/GridExample.jsx';
window.GridExample = GridExample;

// Support inline JSX in our examples.
import React from 'react';
window.React = React;
import ReactDOM from 'react-dom';
window.ReactDOM = ReactDOM;
import '../../vendor/JSXTransformer.min.js';


// Import framework for use in our examples.
import {
  CheckBox,
  Grid,
  GridLoadingRow,
  Spinner,
  TitleBar,
  TitleBarButton,
} from '../framework/framework.js';

window.CheckBox = CheckBox;
window.Grid = Grid;
window.GridLoadingRow = GridLoadingRow;
window.Spinner = Spinner;
window.TitleBar = TitleBar;
window.TitleBarButton = TitleBarButton;

import GridExample from './components/Grid/GridExample.jsx';
window.GridExample = GridExample;

// Support inline JSX in our examples.
import React from 'react';
window.React = React;
import ReactDOM from 'react-dom';
window.ReactDOM = ReactDOM;
import '../../vendor/JSXTransformer.min.js';

Fix bug introduced by new export style.
Fix bug introduced by new export style.
