Skip to content

Commit 3c9b36a

Browse files
authored
docs: remove BoxAlignmentStyleProps "@default" from types (#7982)
1 parent eef689d commit 3c9b36a

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed

packages/@react-types/shared/src/style.d.ts

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -209,20 +209,11 @@ export interface ViewStyleProps<C extends ColorVersion> extends StyleProps {
209209
}
210210

211211
export interface BoxAlignmentStyleProps {
212-
/**
213-
* The distribution of space around items along the main axis. See [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/justify-content).
214-
* @default 'stretch'
215-
*/
212+
/** The distribution of space around items along the main axis. See [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/justify-content). */
216213
justifyContent?: Responsive<'start' | 'end' | 'center' | 'left' | 'right' | 'space-between' | 'space-around' | 'space-evenly' | 'stretch' | 'baseline' | 'first baseline' | 'last baseline' | 'safe center' | 'unsafe center'>,
217-
/**
218-
* The distribution of space around child items along the cross axis. See [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/align-content).
219-
* @default 'start'
220-
*/
214+
/** The distribution of space around child items along the cross axis. See [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/align-content).*/
221215
alignContent?: Responsive<'start' | 'end' | 'center' | 'space-between' | 'space-around' | 'space-evenly' | 'stretch' | 'baseline' | 'first baseline' | 'last baseline' | 'safe center' | 'unsafe center'>,
222-
/**
223-
* The alignment of children within their container. See [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/align-items).
224-
* @default 'stretch'
225-
*/
216+
/** The alignment of children within their container. See [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/align-items). */
226217
alignItems?: Responsive<'start' | 'end' | 'center' | 'stretch' | 'self-start' | 'self-end' | 'baseline' | 'first baseline' | 'last baseline' | 'safe center' | 'unsafe center'>,
227218
/** The space to display between both rows and columns. See [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/gap). */
228219
gap?: Responsive<DimensionValue>,

0 commit comments

Comments
 (0)