Creates a Fuchsia component that can be added to a package.

## **PARAMETERS**

| Name | Description | Default |
|---|---|---|
| name | The target name. | - |
| manifest | The component manifest file. This attribute can be a `fuchsia_component_manifest` target or a `.cml` file. If a `.cml` file is provided it will be compiled into a `.cm` file. If `component_name` is provided, the generated `.cm` file will inherit that name. Otherwise, it will keep the same basename. If you need to have more control over the compilation of the `.cm` file we suggest you create a `fuchsia_component_manifest` target and pass it to this rule. | - |
| moniker | The moniker to run the component under. Defaults to "/core/ffx-laboratory:{COMPONENT_NAME}". | `"/core/ffx-laboratory:{COMPONENT_NAME}"` |
| component_name | The name of the component when `manifest` is a `.cml` file. Defaults to the component manifest file's basename. Must not be set when `manifest` is a `fuchsia_component_manifest` target. | `None` |
| deps | A list of targets that this component depends on. | `[]` |
| tags | Standard meaning. Defaults to `["manual"]`. | `["manual"]` |
| kwargs | Extra attributes to forward to the build rule. | - |