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

header-g

Package Overview
Dependencies
Maintainers
8
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

header-g

gantd header-g

  • 1.1.43
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
8
Created
Source

header-g


Header component based on antd with React

NPM version

Screenshot

Demo

online example: https://favori.gitee.io/gantd-landing (CodePen)

install

rc-tabs

Feature

  • Supports multiple header types and Options
  • Extra tools overflow hidden gently

Usage

import React from 'react';
import Header from 'header-g';
import { Tooltip, Button } from 'antd';

function BasicUse() {
  return <>
        <Header type='line' title="title(with short line)" />
        <Header type='icon' icon="file-text" title="title(with icon)" />
        <Header type='num' title="title(with number)" />
        <Header
            title="title(extra tools)"
            beforeExtra={
              <>
                <Tooltip title='tool_1'>
                    <Button icon="plus" type="primary" />
                </Tooltip>   
                 <Tooltip title='tool_2'>
                    <Button icon="edit"/>
                </Tooltip>   
                 <Tooltip title='tool_3'>
                    <Button icon="save" />
                </Tooltip>   
                 <Tooltip title='tool_4'>
                    <Button icon="delete"/>
                </Tooltip>   
              </> 
            }
        />
    </>
}

React.render(<BasicUse/>, mountNode);

API

Documentation

Contact

Anthor

GantFDT

License

MIT

Keywords

FAQs

Package last updated on 03 Jun 2024

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