svg-layout-designer-react/src/Components/Loader/Loader.tsx
Eric Nguyen 23ed3ed1ad Merged PR 189: Simplify usage of SmartComponent
- Added new Events :
  - AddContainer, AddContainerToSelectedContainer, AppendContainer, AppendContainerToSelectedContainer, SelectContainer, DeleteContainer
  - AddSymbol, SelectSymbol, DeleteSymbol
- Changed the component to an iframe (you only need to copy the whole dist now)
- Added callbacks to every methods in the component
- Create event listener on demand: no need to initialize the event listener!
- Update d.ts
- Added Fastboot and enable it by default on production build
2022-09-21 09:24:14 +00:00

14 lines
229 B
TypeScript

import './Loader.scss';
import * as React from 'react';
export interface ILoaderProps {
}
export function Loader(props: ILoaderProps): JSX.Element {
return (
<div className='loader'>
Loading...
</div>
);
}