import * as React from 'react';
import { md, code, Example, Props } from '@uidu/docs';
export default md`
This package includes common components and utilities used by other media packages.
It exports two componets:
- BlockCard
- InlineCard
Each of them expose the list of sub-views:
- Resolving
- Forbidden
- Unauthorised
- Errored
- Resolved
## Usage
### InlineCard
${code`import {
InlineCardResolvedView,
InlineCardResolvingView,
InlineCardErroredView,
InlineCardForbiddenView,
InlineCardUnauthorizedView,
} from '@uidu/media-ui';`}
### BlockCard
${code`import {
BlockCardResolvingView,
BlockCardErroredView,
BlockCardUnauthorisedView,
BlockCardForbiddenView,
BlockCardResolvedView,
} from '@uidu/media-ui';`}
${(
)}
${(
)}
${(
)}
${(
)}
${(
)}
${(
)}
${(
)}
${(
)}
${(
)}
${(
)}
${(
)}
${(
)}
${(
)}
`;
// TODO: Add props for each subviews using Props from extract react-type