# Helmet

📢 Use this project, [contribute](https://github.com/agencia-e-plus/Helmet) to it

## Helmet

![Media Placeholder](https://user-images.githubusercontent.com/52087100/71204177-42ca4f80-227e-11ea-89e6-e92e65370c69.png)

### Configuration

In this section, you first must **add the primary instructions** that will allow users to use the app's blocks in their store, such as:

1. Adding the app as a theme dependency in the `manifest.json` file;
2. Declaring the app's main block in a given theme template or inside another block from the theme.

#### `Helmet` props

| Prop name | Type    | Description          | Default value |
| --------- | ------- | -------------------- | ------------- |
| `tags`    | `tag[]` | List of`tag` objects | `[]`          |

* `tag` object:

| Prop name    | Type       | Description                                          | Default value |
| ------------ | ---------- | ---------------------------------------------------- | ------------- |
| `type`       | `TypeEnum` | (See`TypeEnum` table)                                | `meta`        |
| `tagProps`   | `object`   | An object with all the tag attributes and his values | -             |
| `tagContent` | `string`   | Content to be rendered inside the tag                | -             |

* `TypeEnum`

| Name   | Value    | Description          |
| ------ | -------- | -------------------- |
| Link   | `link`   | Renders a link tag   |
| Meta   | `meta`   | Renders a meta tag   |
| Script | `script` | Renders a script tag |
| Style  | `style`  | Renders a style tag  |
