📄 ActionLabel¶
📊 Analysis Summary¶
| Metric | Count |
|---|---|
| 🔧 Functions | 1 |
| 📦 Imports | 2 |
| 💠 JSX Elements | 2 |
| 📐 Interfaces | 1 |
📚 Table of Contents¶
🛠️ File Location:¶
📂 packages/website/src/components/layout/ActionLabel.tsx
📦 Imports¶
| Name | Source |
|---|---|
React |
react |
styles |
./InputLabel.module.css |
JSX Elements¶
| Component | Type | Props | Children |
|---|---|---|---|
button |
element | className={styles.optionLabel}, onClick={props.onClick} | , |
span |
element | none | {props.name} |
Functions¶
ActionLabel(props: InputLabelProps): React.JSX.Element¶
Parameters:
propsInputLabelProps
Returns: React.JSX.Element
Code
Interfaces¶
InputLabelProps¶
Interface Code
Properties¶
| Name | Type | Optional | Description |
|---|---|---|---|
children |
React.ReactNode |
✗ | not shown |
name |
string |
✗ | not shown |
onClick |
() => void |
✗ | not shown |
Generated by Syntax Scribe