PHIconWrapper
<script type="module" src="https://unpkg.com/@phosphor-icons/[email protected]"></script>Installation
import { PHIconWrapper } from 'uxp/components';Signature
const PHIconWrapper: React.FunctionComponent<PHIconWrapperProps>Examples
tsx
// Simple usage with default regular weight
<PHIconWrapper icon="house" />tsx
// With weight prefix and FontAwesome-style size
<PHIconWrapper icon={['phb', 'house']} size="2x" color="blue" />tsx
// With animations
<PHIconWrapper icon={['phf', 'heart']} spin color="red" size="lg" />Properties
Name
Type
Mandatory
Default Value
Example Value
Related Types
Last updated