-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into feature/large-text
- Loading branch information
Showing
63 changed files
with
89,206 additions
and
113,328 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
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
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,57 @@ | ||
import kind from '@enact/core/kind'; | ||
import PropTypes from 'prop-types'; | ||
|
||
import css from './Page.module.less'; | ||
|
||
/** | ||
* Page for {@link sandstone/PageViews.PageViews|PageViews}. | ||
* | ||
* @class Page | ||
* @memberof sandstone/PageViews | ||
* @ui | ||
* @public | ||
*/ | ||
|
||
const Page = kind({ | ||
name: 'Page', | ||
propTypes: /** @lends sandstone/PageViews.Page.prototype */ { | ||
/** | ||
* Contents of the page. | ||
* | ||
* @type {Node} | ||
* @public | ||
*/ | ||
children: PropTypes.node, | ||
|
||
/** | ||
* Customizes the component by mapping the supplied collection of CSS class names to the | ||
* corresponding internal elements and states of this component. | ||
* | ||
* The following classes are supported: | ||
* | ||
* * `page` - The root component class | ||
* | ||
* @type {Object} | ||
* @public | ||
*/ | ||
css: PropTypes.object | ||
}, | ||
styles: { | ||
css: css, | ||
className: 'page', | ||
publicClassNames: true | ||
}, | ||
render: ({children, ...rest}) => { | ||
return ( | ||
<div {...rest}> | ||
{children} | ||
</div> | ||
); | ||
|
||
} | ||
}); | ||
|
||
export default Page; | ||
export { | ||
Page | ||
}; |
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,3 @@ | ||
.page { | ||
height: 100%; | ||
} |
Oops, something went wrong.