Home Reference Source Repository
import App from 'omicron-client/src/app.js'
public class | source

App

Extends:

react~React.Component → App

class responsible for creating the first-rendered React component

Constructor Summary

Public Constructor
public

Constructs the base method, takes in a unique name for the app component, and sets the props and state for the component

Member Summary

Public Members
public

props: *

Method Summary

Public Methods
public

render(): XML

Public Constructors

public constructor(props: object) source

Constructs the base method, takes in a unique name for the app component, and sets the props and state for the component

Params:

NameTypeAttributeDescription
props object

The properties of this component

Public Members

public props: * source

Public Methods

public render(): XML source

Return:

XML

The component to be rendered