-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add FXIOS-9150 [New Close Button] documentation
- Loading branch information
Tushar Chitnavis
committed
Jun 7, 2024
1 parent
a558083
commit 2b08c2e
Showing
5 changed files
with
29 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
...t/Sources/ComponentLibrary/Documentation.docc/General Components/CloseButton.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# ``ComponentLibrary/CloseButton`` | ||
|
||
The button which is used for closing a window. | ||
|
||
## Overview | ||
|
||
The `CloseButton` is a subclass of the `UIButton`. This means properties of the `UIButton` are accessible, but for easy conveniance it's recommended to configure the button title, font and accessibility identifier through it's' view model ``CloseButtonViewModel``. The button size shouldn't be adjusted and should be used as is. | ||
|
||
## Illustration | ||
|
||
> This image is illustrative only. For precise examples of iOS implementation, please run the SampleApplication. | ||
@TabNavigator { | ||
@Tab("Light") { | ||
![The CloseButton on iOS](CloseButton) | ||
} | ||
|
||
@Tab("Dark") { | ||
![The CloseButton Dark on iOS](CloseButton-dark) | ||
} | ||
} | ||
|
||
## Topics | ||
|
||
### View Model | ||
|
||
- ``CloseButtonViewModel`` |
Binary file added
BIN
+1.05 KB
...rKit/Sources/ComponentLibrary/Documentation.docc/Resources/CloseButton-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+969 Bytes
BrowserKit/Sources/ComponentLibrary/Documentation.docc/Resources/CloseButton.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters