A next-generation tool to create blazing-fast documentation sites
API
created:3/5/2021
updated:3/5/2021
loc
70
comments
6%
passed
10
coverage
25%

LinkHeading

avatar of atanasster
@component-controls/components
3.15.0

h1-h6 heading component that generates automatically a github-style anchor to navigate to a section on hover.

import { LinkHeading } from '@component-controls/components';

Overview

LinkHeading text

Name
Description
Default
Controls
-(1 properties)
children
text
LinkHeading text
BoxOwnProps(1 properties)
Name
Description
Default
HTMLAttributes(44 properties)
slot
string
-
style
CSSProperties
-
title
string
-
defaultChecked
boolean
-
defaultValue
string | number | readonly string[]
-
suppressContentEditableWarning
boolean
-
suppressHydrationWarning
boolean
-
accessKey
string
-
className
string
-
contentEditable
Booleanishinherit
-
contextMenu
string
-
dir
string
-
draggable
Booleanish
-
hidden
boolean
-
id
string
-
lang
string
-
placeholder
string
-
spellCheck
Booleanish
-
tabIndex
number
-
translate
yesno
-
radioGroup
string
-
role
AriaRole
-
about
string
-
datatype
string
-
inlist
any
-
prefix
string
-
property
string
-
resource
string
-
typeof
string
-
vocab
string
-
autoCapitalize
string
-
autoCorrect
string
-
autoSave
string
-
color
The color utility parses a component's
color
and
bg
props and converts them into CSS declarations. By default the raw value of the prop is returned.

Color palettes can be configured with the ThemeProvider to use keys as prop values, with support for dot notation. Array values are converted into responsive values.

string
-
itemProp
string
-
itemScope
boolean
-
itemType
string
-
itemID
string
-
itemRef
string
-
results
number
-
security
string
-
unselectable
onoff
-
inputMode

Hints at the type of data that might be entered by the user while editing the element or its contents

searchtextnonetelurlemailnumericdecimal
-
is

Specify that a standard HTML element should behave like a defined custom built-in element

string
-
Attributes(1 properties)
AriaAttributes(48 properties)
DOMAttributes(161 properties)
-(1 properties)
BoxOwnProps(4 properties)
SpaceProps(28 properties)
BackgroundColorProps(2 properties)
OpacityProps(1 properties)

Commits

Date
Author
Commit Message
12/25/2021

atanasster

avatar of atanasster
chore: upgrade eslint, gatsby, next
5/9/2021

atanasster

avatar of atanasster
fix: heading data title when children string
5/9/2021

atanasster

avatar of atanasster
fix: clear data-title
4/29/2021

atanasster

avatar of atanasster
fix: fix ally issues from axe-core 4.2
4/28/2021

atanasster

avatar of atanasster
feat: axe ally accessibility testing
2/17/2021

atanasster

avatar of atanasster
feat: components history and catalog
1/3/2021

atanasster

avatar of atanasster
fix: links with react children and start number
7/15/2020

atanasster

avatar of atanasster
fix: reduce head links sizes
6/30/2020

atanasster

avatar of atanasster
feat: typescript run-time config
6/29/2020

atanasster

avatar of atanasster
feat: context links in sidebar
10 commits
package
imports
peer
LinkIcon
react
^17.0.1
FC
*
theme-ui
^0.8.4
jsxLinkHeadingPropsHeadingBox
file
imports
"./pageLink"
pageLinktitleToId