Socket
Socket
Sign inDemoInstall

header-g

Package Overview
Dependencies
112
Maintainers
8
Versions
51
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    header-g

gantd header-g


Version published
Weekly downloads
43
decreased by-35.82%
Maintainers
8
Created
Weekly downloads
 

Readme

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

Last updated on 25 Dec 2023

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc