@types/react-kawaii
    TypeScript icon, indicating that this package has built-in type declarations

    0.17.0 • Public • Published

    Installation

    npm install --save @types/react-kawaii

    Summary

    This package contains type definitions for react-kawaii (https://github.com/miukimiu/react-kawaii).

    Details

    Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-kawaii.

    index.d.ts

    // Type definitions for react-kawaii 0.17
    // Project: https://github.com/miukimiu/react-kawaii
    // Definitions by: Zhang Yi Jiang <https://github.com/ZhangYiJiang>
    // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
    // TypeScript Version: 2.8
    
    import * as React from 'react';
    
    export type KawaiiMood =
      | 'sad'
      | 'shocked'
      | 'happy'
      | 'blissful'
      | 'lovestruck'
      | 'excited'
      | 'ko';
    
    export interface KawaiiProps {
      size?: number | undefined;
      color?: string | undefined;
      mood?: KawaiiMood | undefined;
    }
    
    export const SpeechBubble: React.ComponentType<KawaiiProps>;
    export const Mug: React.ComponentType<KawaiiProps>;
    export const Browser: React.ComponentType<KawaiiProps>;
    export const Ghost: React.ComponentType<KawaiiProps>;
    export const Cat: React.ComponentType<KawaiiProps>;
    export const IceCream: React.ComponentType<KawaiiProps>;
    export const CreditCard: React.ComponentType<KawaiiProps>;
    export const File: React.ComponentType<KawaiiProps>;
    export const Backpack: React.ComponentType<KawaiiProps>;
    export const Planet: React.ComponentType<KawaiiProps>;
    export const Chocolate: React.ComponentType<KawaiiProps>;
    export const Folder: React.ComponentType<KawaiiProps>;

    Additional Details

    • Last updated: Thu, 29 Jul 2021 05:31:19 GMT
    • Dependencies: @types/react
    • Global values: none

    Credits

    These definitions were written by Zhang Yi Jiang.

    Keywords

    none

    Install

    npm i @types/react-kawaii

    DownloadsWeekly Downloads

    824

    Version

    0.17.0

    License

    MIT

    Unpacked Size

    5.09 kB

    Total Files

    4

    Last publish

    Collaborators

    • types