-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add width and height props to SmartHRLogo (#767)
- Loading branch information
Showing
3 changed files
with
59 additions
and
22 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# SmartHRLogo | ||
|
||
```tsx | ||
import { SmartHRLogo } from 'smarthr-ui' | ||
|
||
<SmartHRLogo title="SmartHR" width={111} height={20} fill="#00c4cc" /> | ||
``` | ||
|
||
## props | ||
|
||
| Name | Required | Type | DefaultValue | Description | | ||
| --------- | -------- | ---------- | ------------ | -------------------------------- | | ||
| title | - | **string** | 'SmartHR' | title of svg tag | | ||
| width | - | **number** | 150 | width of svg tag | | ||
| height | - | **number** | 27 | height of svg tag | | ||
| fill | - | **string** | '#fff' | fill color of svg tag | | ||
| className | - | **string** | '' | className of wrapper div element | |
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
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