-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
First refactor of Tab to TSX. See #43
- Loading branch information
Showing
5 changed files
with
406 additions
and
313 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
module Animate { | ||
|
||
export interface ITabPaneProps { | ||
label: string; | ||
} | ||
|
||
/** | ||
* A single page/pane/folder pair for use in a Tab | ||
*/ | ||
export class TabPane extends React.Component<ITabPaneProps, any > { | ||
|
||
/** | ||
* Creates a new pane instance | ||
*/ | ||
constructor(props:ITabPaneProps) { | ||
super(props); | ||
} | ||
|
||
/** | ||
* Creates the component elements | ||
* @returns {JSX.Element} | ||
*/ | ||
render(): JSX.Element { | ||
return <div className="tab-page background"> | ||
{this.props.children} | ||
</div> | ||
} | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.