0.1.6 • Published 7 months ago

@sankei-arc-shared-components/feature_story-card v0.1.6

Weekly downloads
34
License
ISC
Repository
github
Last release
7 months ago

Feature - Story Card

How do I use it in my Fusion Project?

import StoryCard from '@sankei-arc-shared-components/feature_story-card';

... some code

const props = {
  ans,
  className: 'story-card card',
  components: [{
    Component: LeadArt,
    props: {
      className: 'lead-art',
      hideCaption: true,
      imgClassName: 'width-full',
      resizerPreset,
      source: 'promo_items.basic',
    }
  }...]
};

<StoryCard {...props}>
  {([
    leadArt,
  ]) => (
    <>
      {leadArt}
    </>
  )}
</StoryCard>

more code ...

Take a look in the src/index.mdx file to see suggested implementations.

0.1.6

7 months ago

0.1.5

1 year ago

0.1.4

3 years ago

0.1.4-test.0

3 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago