Lynx
Manner Temp Badge
A component that represents manner temperature as a small badge.
Available since@seed-design/lynx-react@0.6.0, @seed-design/lynx-css@0.10.0
Loading Lynx example…
Installation
Lynx MannerTempBadge is provided directly from the @seed-design/lynx-react package without a separate ui:manner-temp-badge snippet.
Props
Prop
Type
style?CSSProperties | undefinedchildren?React.ReactNodeclassName?string | undefinedUsage
Specify the manner temperature range in level and pass the temperature to display as a child.
Web Version Differences
- Rendering elements. Renders native
<view>and<text>instead of HTML<span>. - Public path. Unlike the
ui:manner-temp-badgesnippet in React documentation, Lynx uses the package API directly. - Temperature conversion. The Lynx package does not convert
temperaturetolevel. Calculate and passlevelaccording to your product's manner temperature standard. - Polymorphic rendering. Web's
asChildand HTML attribute surface are not provided.