1"use strict";(globalThis.webpackChunknocobase=globalThis.webpackChunknocobase||[]).push([["7201"],{93512(t,e,n){n.r(e),n.d(e,{default:()=>c});let c={contexts:[n(79271).JSBlockRunJSContext],prefix:"sn-jsb-button",label:"Render button handler",description:"Render a button and handle click events inside the block",locales:{"zh-CN":{label:"æé®äºä»¶å¤ç",description:"å¨åºå䏿¸²ææé®å¹¶ç»å®ç¹å»å¤çé»è¾"}},content:` 2const { Button } = ctx.libs.antd; 3 4ctx.render( 5 <Button type="primary" onClick={() => ctx.message.success(ctx.t('Clicked!'))}> 6 {ctx.t('Button')} 7 </Button> 8); 9`}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.