Skip to content

Commit

Permalink
[#638] Review: Replace "principal button" by "primary button"
Browse files Browse the repository at this point in the history
  • Loading branch information
paulinea committed Oct 13, 2023
1 parent c69032c commit 79dea39
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/components/Banners.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ OdsBanner(
Parameter | Default value | Description
-- | -- | --
`message: String` | | Text displayed into the banner
`firstButton: OdsBannerButton` | | Principal button displayed in the banner
`firstButton: OdsBannerButton` | | Primary button displayed in the banner
`modifier: Modifier` | `Modifier` | `Modifier` applied to the banner
`image: OdsBannerImage?` | `null` | Image displayed in the banner in a circle shape
`secondButton: OdsBannerButton?` | `null` | Secondary button displayed into the banner next to the principal one
`secondButton: OdsBannerButton?` | `null` | Secondary button displayed into the banner next to the primary one
{:.table}

### XML
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ import com.orange.ods.compose.theme.OdsTheme
* <a href="https://system.design.orange.com/0c1af118d/p/19a040-banners/b/497b77" class="external" target="_blank">ODS banners</a>.
*
* @param message Text displayed into the banner.
* @param firstButton Principal button displayed in the banner.
* @param firstButton Primary button displayed in the banner.
* @param modifier [Modifier] applied to the banner layout.
* @param image Image displayed in the banner in a circle shape.
* @param secondButton Secondary button displayed into the banner next to the principal one.
* @param secondButton Secondary button displayed into the banner next to the primary one.
*/
@Composable
@OdsComposable
Expand Down

0 comments on commit 79dea39

Please sign in to comment.