@react-types/label
Advanced tools
Comparing version 3.2.1 to 3.3.0
{ | ||
"name": "@react-types/label", | ||
"version": "3.2.1", | ||
"version": "3.3.0", | ||
"description": "Spectrum UI components in React", | ||
@@ -20,3 +20,3 @@ "license": "Apache-2.0", | ||
}, | ||
"gitHead": "0778f71a3c13e1e24388a23b6d525e3b9f5b98f1" | ||
"gitHead": "f5b429ee8615248f2e3c76754bad2ece83f1c444" | ||
} |
@@ -14,3 +14,3 @@ /* | ||
import {Alignment, DOMProps, LabelPosition, NecessityIndicator, StyleProps} from '@react-types/shared'; | ||
import {ElementType, HTMLAttributes, ReactNode} from 'react'; | ||
import {ElementType, HTMLAttributes, ReactElement, ReactNode} from 'react'; | ||
@@ -31,1 +31,7 @@ export interface LabelProps { | ||
} | ||
export interface SpectrumFieldProps extends SpectrumLabelProps { | ||
children: ReactElement, | ||
label?: ReactNode, | ||
labelProps: HTMLAttributes<HTMLElement> | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13419
31