# TextWithIcon

## Usage

```jsx
import { TextWithIcon } from "seturon";

const TextWithIcon = (props) => (
  <TextWithIcon
    icon={<SubscriptionYearIcon width={12} height={12} fill={"#008f69"} />}
    text="Default text"
  />
);
```

## Properties

Properties which can be added to the component to change the visual appearance.

* `icon` **Type**: boolean
* `text` **Type**: boolean
* `sm` **Type**: boolean
* `H2` **Type**: boolean
* `H4` **Type**: boolean

* color:
  * `text{size}Primary`
  * `text{size}Secondary`
  * `text{size}Success`
  * `text{size}Danger`
  * `text{size}Warning`
  * `text{size}Info`
  * `text{size}Light`
  * `text{size}Dark`
  * `text{size}Darker`
  * `text{size}Reset`
