Commit e18c8a9f authored by Jaden DIEFENBAUGH's avatar Jaden DIEFENBAUGH
Browse files

export components as well as containers

parent 00d7bf01
......@@ -115,7 +115,7 @@ const GroupIOBlock = ({ name, ioObj, dfs, updateFunc, deleteFunc, objNames }: an
</FormGroup>
);
class AlgorithmEditor extends React.Component<Props, State> {
export class AlgorithmEditor extends React.Component<Props, State> {
constructor(props: Props) {
//console.log(`Creating AlgDetail`);
super(props);
......
......@@ -70,7 +70,7 @@ const getValidObj = (data = {}) => {
return obj;
};
class DatabaseEditor extends React.Component<Props, State> {
export class DatabaseEditor extends React.Component<Props, State> {
constructor(props: Props) {
super(props);
}
......
......@@ -284,7 +284,7 @@ const RecursiveObj = ({ obj, dfs, updateFunc }: {obj: any, dfs: string[], update
</div>
);
class DataformatEditor extends React.Component<Props, State> {
export class DataformatEditor extends React.Component<Props, State> {
constructor(props: Props) {
super(props);
}
......
......@@ -45,7 +45,7 @@ type State = {
activeTab: Tab,
};
class EntityDetail extends React.Component<Props, State> {
export class EntityDetail extends React.Component<Props, State> {
constructor(props: Props){
super(props);
}
......
......@@ -60,7 +60,7 @@ type State = {
copyObj: {},
};
class EntityList extends React.Component<Props, State> {
export class EntityList extends React.Component<Props, State> {
constructor (props: Props) {
super(props);
}
......
......@@ -64,7 +64,7 @@ const getValidObj = (data = {}) => {
return obj;
};
class LibraryEditor extends React.Component<Props, State> {
export class LibraryEditor extends React.Component<Props, State> {
constructor(props: Props) {
super(props);
}
......@@ -73,13 +73,13 @@ class LibraryEditor extends React.Component<Props, State> {
cache: getValidObj(this.props.data),
}
componentWillReceiveProps (nextProps) {
componentWillReceiveProps (nextProps: any) {
this.setState({
cache: getValidObj(nextProps.data),
});
}
setContents = (newContents) => {
setContents = (newContents: any) => {
this.setState({
cache: {
...this.state.cache,
......@@ -91,7 +91,7 @@ class LibraryEditor extends React.Component<Props, State> {
});
}
updateLibraries = (libraries) => {
updateLibraries = (libraries: {}) => {
this.setContents({...this.state.cache.contents, uses: libraries});
}
......
......@@ -50,7 +50,7 @@ const saveAll = (allLists: Props) => {
);
};
class MainNav extends React.Component<Props, State> {
export class MainNav extends React.Component<Props, State> {
constructor(props: Props) {
super(props);
}
......
......@@ -26,7 +26,7 @@ type State = {
name: string,
};
class NewEntityModal extends React.Component<Props, State> {
export class NewEntityModal extends React.Component<Props, State> {
constructor(props: Props) {
super(props);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment