v5 - icon size
See original GitHub issue💬 Question
UI Kitten and Eva version
"@eva-design/eva": "^2.0.0-alpha.1",
"@ui-kitten/components": "^5.0.0-alpha.1",
Hi, I’m trying change the size of an icon on the Button element.
<Button style={styles.loginBtn} accessoryLeft={iconFacebook} ></Button>
const iconFacebook = (props: IconProps) => ( <Icon {...props} name="facebook"></Icon> );
How can I pass the height and width to the icon? Which type is the props parameter?
Btw, I love UI kitten, thank you for your awesome package.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5
Top Results From Across the Web
Size Icons | Font Awesome Docs
Relative Sizing. Icons inherit the font-size of their parent container which allow them to match any text you might use with them.
Read more >Icons · Bootstrap v5.0
Bootstrap Icons is a growing library of SVG icons that are designed by @mdo and maintained by the Bootstrap Team. The beginnings of...
Read more >Bootstrap Icon size - free examples & tutorial
Responsive Icon size built with Bootstrap 5. Examples of ways to resize icons. How it works. To increase icon sizes relative to their...
Read more >Icon Size Ratio Change CATIA V5 - YouTube
MenuTools → Customize → Options → Large Icons : Icon Size Ratio(Restart session to take settings into account)
Read more >Icon API - Material UI - MUI
The fontSize applied to the icon. Defaults to 24px, but can be configure to inherit font size. sx, Array<func | object | bool>...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@arthurliebhardt When there is a need to modify the existing props, keep in mind that you should also keep the initial stylings provided by the library.
I suggest reading the official docs on styling for reference.
@artyorsh ok, sorry didn’t know that. Thank you 😃 .