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

Function InfoMessage

packages/dev/s2-docs/src/colorSearchData.tsx:237–244  ·  view source on GitHub ↗
({children}: InfoMessageProps)

Source from the content-addressed store, hash-verified

235}
236
237export function InfoMessage({children}: InfoMessageProps) {
238 return (
239 <div className={style({display: 'flex', gap: 4, padding: 8, alignItems: 'center'})}>
240 <InfoCircle styles={iconStyle({size: 'XS'})} />
241 <span className={style({font: 'ui'})}>{children}</span>
242 </div>
243 );
244}
245
246function SkeletonColorItem({item}: {item: {id: string}}) {
247 const ref = useRef(null);

Callers

nothing calls this directly

Calls 1

iconStyleFunction · 0.90

Tested by

no test coverage detected