Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@teamix/banner-card

Package Overview
Dependencies
Maintainers
16
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@teamix/banner-card

图文类卡片,大插图在右

  • 1.0.9
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
10
increased by900%
Maintainers
16
Weekly downloads
 
Created
Source

图文卡片_spacex

@teamix/banner-card

图文类卡片,大插图在右

API

参数名说明必填类型默认值备注
title标题ReactNode-
content内容文字ReactNode-
className内容样式类名string-
component右侧多媒体内容标签custom'img'同 Card.Media 内的component
image右侧为图片时的背景图片地址,当与src同时不设置时不显示右侧区域string-同 Card.Media 内的img
src右侧多媒体源文件地址,当与image同时不设置时不显示右侧区域string-同 Card.Media 内的src
operation内容下方的按钮配置,每一项为Button的属性Button[]-
gutter左侧内容与右侧多媒体文件的间距string/number100
hasBorder卡片是否有边框booleantrue

其余参数与Card一致

Keywords

FAQs

Package last updated on 08 Sep 2021

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc