MCPcopy Create free account
hub / github.com/adobe/react-spectrum / text

Function text

packages/@react-spectrum/ai/test/TokenSegmentList.test.ts:16–18  ·  view source on GitHub ↗
(s: string)

Source from the content-addressed store, hash-verified

14import React from 'react';
15
16function text(s: string): TokenFieldSegment {
17 return {type: 'text', text: s};
18}
19
20function token(s: string): TokenFieldSegment {
21 return {type: 'token', text: s};

Callers 2

AvatarGroup.tsxFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected