Socket
Book a DemoInstallSign in
Socket

@talixo/card

Package Overview
Dependencies
Maintainers
2
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@talixo/card

UI component for Card

0.1.0
latest
Source
npmnpm
Version published
Weekly downloads
0
Maintainers
2
Weekly downloads
 
Created
Source

Talixo Card

It's just simple wrapper for Card component.

How to install

Package is available as @talixo/card in NPM registry, so you can use it in your project using npm install @talixo/card --save or yarn add @talixo/card.

Requirements

Your package should additionally have some extra dependencies:

  • classnames: ^2.2.5
  • prop-types: ^15.6.1
  • react: ^16.2.0
  • react-dom: ^16.2.0
  • @talixo/shared: ^0.1.0

These packages are required by @talixo/card, but you have to install them manually, to avoid having different versions of these in your application.

Supported props

Card

It allows any props which are allowed for 'div'. Additionally, it handles some differently:

Property nameTypeDefaultDescription
classNamestringn/aadditional class name passed to wrapper
childrennoden/aany elements which should be shown in Card (CardHeader, CardContent or CardFooter)

CardHeader

It allows any props which are allowed for 'div'. Additionally, it handles some differently:

Property nameTypeDefaultDescription
classNamestringn/aadditional class name passed to wrapper
childrennoden/anode element to display inside CardHeader
titlestringn/atitle of CardHeader

CardContent

It allows any props which are allowed for 'div'. Additionally, it handles some differently:

Property nameTypeDefaultDescription
classNamestringn/aadditional class name passed to wrapper
childrennoden/anode element to display inside CardContent

CardFooter

It allows any props which are allowed for 'div'. Additionally, it handles some differently:

Property nameTypeDefaultDescription
classNamestringn/aadditional class name passed to wrapper
childrennoden/anode element to display inside CardContent

Changelog

  • 0.1.0 - initial version

FAQs

Package last updated on 02 May 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.