⬅️ Back to Table of Contents
📄 Text.tsx
📊 Analysis Summary
Metric |
Count |
📦 Imports |
3 |
💠 JSX Elements |
4 |
📐 Interfaces |
1 |
📚 Table of Contents
🛠️ File Location:
📂 packages/website/src/components/inputs/Text.tsx
📦 Imports
Name |
Source |
SearchIcon |
@site/src/icons/search.svg |
React |
react |
styles |
./Text.module.css |
JSX Elements
Interfaces
DropdownProps
Interface Code
export interface DropdownProps {
readonly className?: string;
readonly name: string;
readonly onChange: (value: string) => void;
readonly placeholder?: string;
readonly type?: 'search' | 'text';
readonly value: string;
}
Properties
Name |
Type |
Optional |
Description |
className |
string |
✓ |
|
name |
string |
✗ |
|
onChange |
(value: string) => void |
✗ |
|
placeholder |
string |
✓ |
|
type |
'search' | 'text' |
✓ |
|
value |
string |
✗ |
|