@@ -3,22 +3,23 @@ declare type PropsOf<
33> = JSX . LibraryManagedAttributes < E , React . ComponentPropsWithoutRef < E > > ;
44
55/** Props for a Box component that supports the "innerRef" and "as" props. */
6- type BoxProps < E extends React . ElementType , P = any > = P & PropsOf < E > & {
7- /** Render the component as another component */
8- as ?: E ;
9- } ;
6+ type BoxProps < E extends React . ElementType , P = any > = P &
7+ PropsOf < E > & {
8+ /** Render the component as another component */
9+ as ?: E ;
10+ } ;
1011
1112interface StackBaseProps {
1213 /** The flex "align" property */
13- align ?: " stretch" | " center" | " flex-start" | " flex-end" ;
14+ align ?: ' stretch' | ' center' | ' flex-start' | ' flex-end' ;
1415}
1516
1617interface StackJustifyProps {
1718 /**
1819 * Use flex 'space-between' | 'space-around' | 'space-evenly' and
1920 * flex will space the children.
2021 */
21- justify ?: " space-between" | " space-around" | " space-evenly" ;
22+ justify ?: ' space-between' | ' space-around' | ' space-evenly' ;
2223 /** You cannot use gap when using a "space" justify property */
2324 gap ?: never ;
2425}
@@ -28,18 +29,18 @@ interface StackGapProps {
2829 * Use flex 'center' | 'flex-start' | 'flex-end' | 'stretch' with
2930 * a gap between each child.
3031 */
31- justify ?: " center" | " flex-start" | " flex-end" | " stretch" ;
32+ justify ?: ' center' | ' flex-start' | ' flex-end' | ' stretch' ;
3233 /** The space between children */
3334 gap ?: number | string ;
3435}
3536
3637type StackProps = StackBaseProps & ( StackGapProps | StackJustifyProps ) ;
3738
38- const defaultElement = " div" as const ;
39+ const defaultElement = ' div' as const ;
3940
4041/** ComplexGenericUnionIntersection description */
4142export const ComplexGenericUnionIntersection = <
4243 E extends React . ElementType = typeof defaultElement
4344> (
4445 props : BoxProps < E , StackProps >
45- ) => < div /> ;
46+ ) => < div /> ;
0 commit comments