HomePhabricator
Diffusion Comm b4a556671261

[web] add style prop to icon component

Description

[web] add style prop to icon component

Summary:
we need a style prop to override inline styles the component gives us as defaults. This is a part of the API, I just never added it to the prop types initially.

style prop in icomoon component: https://github.com/aykutkardas/react-icomoon/blob/master/src/index.tsx#L71

Test Plan: We shouldn't have any type errors using the style prop, and the styles in the style prop should work as expected.

Reviewers: atul, ashoat

Reviewed By: atul, ashoat

Subscribers: ashoat, palys-swm, Adrian, karol-bisztyga

Differential Revision: https://phabricator.ashoat.com/D3346

Details

Provenance
benschacAuthored on Mar 8 2022, 6:58 AM
Reviewer
atul
Differential Revision
D3346: [web] add style prop to icon component
Parents
rCOMM1db6f07a77f2: [web] Introduce Apps page
Branches
Unknown
Tags
Unknown