Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More

@react-types/layout

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-types/layout - npm Package Compare versions

Comparing version 3.0.0-alpha.1 to 3.0.0-nightly-641446f65-240905

{
"name": "@react-types/layout",
"version": "3.0.0-alpha.1",
"version": "3.0.0-nightly-641446f65-240905",
"description": "Spectrum UI components in React",

@@ -9,9 +9,9 @@ "license": "Apache-2.0",

"type": "git",
"url": "https://github.com/adobe-private/react-spectrum-v3"
"url": "https://github.com/adobe/react-spectrum"
},
"dependencies": {
"@react-types/shared": "^3.0.0-rc.2"
"@react-types/shared": "^3.0.0-nightly-641446f65-240905"
},
"peerDependencies": {
"react": "^16.8.0"
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0"
},

@@ -21,3 +21,3 @@ "publishConfig": {

},
"gitHead": "207e6ee9076905c96638a7f81a367758872e1410"
}
"stableVersion": "3.3.17"
}
# @react-types/layout
This package is part of [react-spectrum](https://github.com/adobe-private/react-spectrum-v3). See the repo for more details.
This package is part of [react-spectrum](https://github.com/adobe/react-spectrum). See the repo for more details.

@@ -14,3 +14,3 @@ /*

import {DOMProps, FlexStyleProps} from '@react-types/shared';
import {ReactElement} from 'react';
import {ReactNode} from 'react';

@@ -20,3 +20,4 @@ export type Slots = {[key: string]: any};

export interface FlexProps extends DOMProps, FlexStyleProps {
children: ReactElement | ReactElement[]
/** Children of the flex container. */
children: ReactNode
}

@@ -17,3 +17,4 @@ /*

export interface GridProps extends DOMProps, GridStyleProps {
/** Children of the grid container. */
children: ReactNode
}