@ridi/web-ui
    TypeScript icon, indicating that this package has built-in type declarations

    0.8.0 • Public • Published

    @ridi/web-ui

    Install

    $ npm install @ridi/web-ui

    Support TypeScript

    import * as React from 'react';
    import { Book } from '@ridi/web-ui';
     
    interface BookCoverProps {
      bookId: string
      width: number
    }
     
    const BookCover: React.FC<BookCoverProps> = props => {
      const { bookId, width } = props;
      return (
        <>
          <Book.Thumbnail
            thumbnailWidth={width}
            thumbnailUrl={`https://misc.ridibooks.com/cover/${bookId}/xxlarge`}
          />
        </>
      )
    }

    Keywords

    none

    Install

    npm i @ridi/web-ui

    DownloadsWeekly Downloads

    36

    Version

    0.8.0

    License

    MIT

    Unpacked Size

    194 kB

    Total Files

    6

    Last publish

    Collaborators

    • davin.ahn
    • ridicorp
    • m0ai
    • limeburst
    • minq
    • ridi-junhee
    • ryan.kim
    • hw.choi