Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F102632580
Stack.js
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sat, Feb 22, 17:36
Size
1 KB
Mime Type
text/x-java
Expires
Mon, Feb 24, 17:36 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
24377740
Attached To
rOACCT Open Access Compliance Check Tool (OACCT)
Stack.js
View Options
import
PropTypes
from
'prop-types'
;
import
createStack
from
'./createStack'
;
/**
*
* Demos:
*
* - [Stack (Material UI)](https://mui.com/material-ui/react-stack/)
* - [Stack (MUI System)](https://mui.com/system/react-stack/)
*
* API:
*
* - [Stack API](https://mui.com/system/api/stack/)
*/
var
Stack
=
createStack
();
process
.
env
.
NODE_ENV
!==
"production"
?
Stack
.
propTypes
/* remove-proptypes */
=
{
// ----------------------------- Warning --------------------------------
// | These PropTypes are generated from the TypeScript type definitions |
// | To update them edit TypeScript types and run "yarn proptypes" |
// ----------------------------------------------------------------------
/**
* The content of the component.
*/
children
:
PropTypes
.
node
,
/**
* Defines the `flex-direction` style property.
* It is applied for all screen sizes.
* @default 'column'
*/
direction
:
PropTypes
.
oneOfType
([
PropTypes
.
oneOf
([
'column-reverse'
,
'column'
,
'row-reverse'
,
'row'
]),
PropTypes
.
arrayOf
(
PropTypes
.
oneOf
([
'column-reverse'
,
'column'
,
'row-reverse'
,
'row'
])),
PropTypes
.
object
]),
/**
* Add an element between each child.
*/
divider
:
PropTypes
.
node
,
/**
* Defines the space between immediate children.
* @default 0
*/
spacing
:
PropTypes
.
oneOfType
([
PropTypes
.
arrayOf
(
PropTypes
.
oneOfType
([
PropTypes
.
number
,
PropTypes
.
string
])),
PropTypes
.
number
,
PropTypes
.
object
,
PropTypes
.
string
]),
/**
* The system prop, which allows defining system overrides as well as additional CSS styles.
*/
sx
:
PropTypes
.
oneOfType
([
PropTypes
.
arrayOf
(
PropTypes
.
oneOfType
([
PropTypes
.
func
,
PropTypes
.
object
,
PropTypes
.
bool
])),
PropTypes
.
func
,
PropTypes
.
object
])
}
:
void
0
;
export
default
Stack
;
Event Timeline
Log In to Comment