Lynx
Manner Temp
A component that expresses the user's manner temperature with temperature and expression images.
Available since@seed-design/lynx-react@0.6.0, @seed-design/lynx-css@0.10.0
Loading Lynx example…
Installation
Lynx MannerTemp is provided directly from the @seed-design/lynx-react package without a separate ui:manner-temp snippet.
Properties
MannerTemp
Prop
Type
style?CSSProperties | undefinedchildren?React.ReactNodeclassName?string | undefinedMannerTempEmote
Prop
Type
level?MannerTempLevel | undefinedstyle?CSSProperties | undefinedchildren?React.ReactNodeclassName?string | undefinedUsage
Specify the manner temperature range in level. If you add MannerTempEmote as a child, it displays the expression image for the same level.
Differences from Web Version
- Rendering elements. Renders native
<view>,<text>,<image>instead of HTML<span>and<img>. - Public path. Unlike the
ui:manner-tempsnippet in React documentation, Lynx uses the package API directly. - Temperature conversion. The Lynx package does not convert
temperaturetolevel. Calculate and pass thelevelaccording to your product's manner temperature criteria. - Polymorphic rendering. Does not provide the web's
asChildand HTML attribute surface.