# `MishkaChelekom.Generators.ImportMacro`
[🔗](https://github.com/mishka-group/mishka_chelekom/blob/v0.0.9/lib/mishka_chelekom/generators/import_macro.ex#L1)

Generates the `<App>Web.Components.MishkaComponents` import macro for the styled batch task
(`mix mishka.ui.gen.components --import`) and, with `--global`, wires it into the web module's
`html_helpers/0` in place of the default `CoreComponents` import.

# `create`

```elixir
@spec create(Igniter.t(), [String.t()], keyword()) :: Igniter.t()
```

Creates the import-macro module for `list` of components when `opts[:import]` is set and the
igniter is issue-free. `opts`: `:import`, `:helpers`, `:global`, `:component_prefix`,
`:module_prefix`.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
