{/* prettier-ignore */}
{/*
Copyright 2023 Comcast Cable Communications Management, LLC

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

SPDX-License-Identifier: Apache-2.0
\*/}

import { Meta, Title } from '@storybook/blocks';
import * as MetadataCardContentStories from './MetadataCardContent.stories';

<Meta of={MetadataCardContentStories} />

<Title />

A component to format metadata on CardContent. Contains a [Provider](?path=/docs/components-provider--docs) to format [Icon(s)](?path=/docs/components-icon--docs).

## Source

https://github.com/rdkcentral/Lightning-UI-Components/tree/develop/packages/%40lightningjs/ui-components/src/components/MetadataCardContent

## Usage

```js
import { MetadataCardContent } from '@lightningjs/ui-components';

class Basic extends lng.Component {
  static _template() {
    return {
      MetadataCardContent: {
        type: MetadataCardContent,
        w: 600,
        h: 250,
        title: 'Title',
        description: 'Description',
        details: 'Details',
        provider: {
          visibleCount: args.visibleCount,
          providers: Array(10).fill(xfinityProviderLogoSquare)
        }
      }
    };
  }
}
```

## API

### Properties

| name               | type                                              | required | default   | description                                                                           |
| ------------------ | ------------------------------------------------- | -------- | --------- | ------------------------------------------------------------------------------------- |
| title              | string                                            | false    | undefined | title text                                                                            |
| description        | string                                            | false    | undefined | description text directly below title                                                 |
| descriptionDetails | string                                            | false    | undefined | details text directly below description                                               |
| details            | string                                            | false    | undefined | details text at bottom left of component                                              |
| provider           | [Provider](?path=/docs/components-provider--docs) | false    | undefined | an object of [Provider](?path=/docs/components-provider--docs) properties to patch in |

### Style Properties

| name                    | type             | description                                                                             |
| ----------------------- | ---------------- | --------------------------------------------------------------------------------------- |
| detailsTextStyle        | string \| object | text style for details                                                                  |
| descriptionDetailsStyle | object           | style for description details                                                           |
| providerStyle           | object           | style properties to pass along to the [Provider](?path=/docs/components-provider--docs) |

### Methods
