0.0.7 • Published 5 years ago

@c8s/card v0.0.7

Weekly downloads
1
License
MIT
Repository
-
Last release
5 years ago

@c8s/card

github npm:version typescript license browserslist code style:prettier

Usage

/**
 * As to prepare of using the `Card`
 * 
 * ```bash
 * yarn add @c8s/card @c8s/theme react @types/react styled-components @types/styled-components
 * ```
 */
import Card from '@c8s/card';
import {Theme, theme} from '@c8s/theme';

Example

() => (
  <Theme theme={theme}>
    {/* ... */}
      <Card>
        <a href="#">
          <Card.img src="https://placehold.jp/200x200.png" />
          <div>
            <div role="heading">タイトル</div>
            <Card.separator />
            <div style={{fontSize: 13}}>ほげほげふがふが<br />ほげほげふがふが</div>
          </div>
        </a>
      </Card>
    {/* ... */}
  </Theme>
);

Contributors

Thanks goes to these wonderful people (emoji key):

📖Aki-Japan📖

This project follows the all-contributors specification. Contributions of any kind welcome!

0.0.7

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago