Sha256: fb452541cfbd2c49ee28914701573db24c6a4769b9a6877375ca663b7d2d2e9a

Contents?: true

Size: 498 Bytes

Versions: 5

Compression:

Stored size: 498 Bytes

Contents

import React from "react"

import UserStamp from "./UserStamp"

import { text } from "@storybook/addon-knobs"

export default function UserStampStory(stories) {
  stories.add("User Stamp",
    () => {
      let props = {
        thumbUrl: text('thumbUrl', 'http://i.pravatar.cc/46'),
        name: text('name', 'John Galt'),
        date: text('date', 'Nov 28, 2017'),
      }
      return (
        <div className="container">
          <UserStamp {...props} />
        </div>
      )
    }
  )
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
playbook_ui-2.7.2 components/UserStamp/UserStampStory.jsx
playbook_ui-2.7.1 components/UserStamp/UserStampStory.jsx
playbook_ui-2.7.0 components/UserStamp/UserStampStory.jsx
playbook_ui-2.6.0 components/UserStamp/UserStampStory.jsx
playbook_ui-2.5.0 components/UserStamp/UserStampStory.jsx