47fac22230
- .claude/CLAUDE.md - .claude/commands/subagentes.md - .claude/rules/INDEX.md - .mcp.json - bash/functions/cybersecurity/analyze_dns.md - bash/functions/cybersecurity/audit_http_headers.md - bash/functions/cybersecurity/audit_ssh_config.md - bash/functions/cybersecurity/check_firewall.md - bash/functions/cybersecurity/detect_suspicious_users.md - bash/functions/cybersecurity/encrypt_file.md - ... Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1.8 KiB
1.8 KiB
name, kind, lang, domain, version, purity, signature, description, tags, uses_functions, uses_types, returns, returns_optional, error_type, imports, framework, props, output, tested, tests, test_file_path, file_path, emits, has_state, variant
| name | kind | lang | domain | version | purity | signature | description | tags | uses_functions | uses_types | returns | returns_optional | error_type | imports | framework | props | output | tested | tests | test_file_path | file_path | emits | has_state | variant | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| segmented_control | component | ts | ui | 1.0.0 | impure | FnSegmentedControl(props: FnSegmentedControlProps): JSX.Element | Control segmentado para seleccion unica entre opciones. Wrapper sobre Mantine SegmentedControl. |
|
false |
|
react |
|
Control segmentado con animacion de slide entre opciones | false | frontend/functions/ui/segmented_control.tsx | false |
Ejemplo
import { FnSegmentedControl } from '@fn_library'
<FnSegmentedControl
value={view}
onChange={setView}
data={[
{ value: 'table', label: 'Tabla' },
{ value: 'chart', label: 'Grafico' },
{ value: 'map', label: 'Mapa' },
]}
/>
Notas
Wrapper sobre Mantine SegmentedControl. Alternativa a tabs para seleccion compacta entre pocas opciones. La animacion de slide es nativa de Mantine.