Skip to content

Commit

Permalink
Nit: adjust SpacedAligned classes docs
Browse files Browse the repository at this point in the history
  • Loading branch information
DennisTsar committed Jun 15, 2024
1 parent 455a68e commit 6276fb4
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ object Arrangement {
SpacedAligned.Horizontal(space, alignment)
}

/** Sealed class representing a spaced an [Arrangement] with a given spacing. */
/** Arrangement with spacing between adjacent children. */
internal sealed class SpacedAligned(
override val spacing: CSSLengthOrPercentageNumericValue,
) : Arrangement.HorizontalOrVertical {
Expand All @@ -236,7 +236,7 @@ internal sealed class SpacedAligned(
*/
abstract val classNames: Array<String>

/** Representation either horizontal or vertical spaced and aligned arrangement. */
/** Represents a spaced (either horizontally or vertically) and aligned arrangement. */
class HorizontalOrVertical(
spacing: CSSLengthOrPercentageNumericValue,
) : SpacedAligned(spacing) {
Expand All @@ -245,7 +245,7 @@ internal sealed class SpacedAligned(
}

/**
* Representation of a vertically spaced and aligned arrangement.
* Represents a vertically spaced and aligned arrangement.
*
* @param alignment The vertical alignment used in the arrangement.
*/
Expand All @@ -266,7 +266,7 @@ internal sealed class SpacedAligned(
}

/**
* Representation of a horizontally spaced and aligned arrangement.
* Represents a horizontally spaced and aligned arrangement.
*
* @param alignment The horizontal alignment used in the arrangement.
*/
Expand Down

0 comments on commit 6276fb4

Please sign in to comment.