Skip to content

Commit f9d2d4d

Browse files
committed
doc: update example.
1 parent 500184b commit f9d2d4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ export default function Demo() {
262262
setHex(customTheme[varname]);
263263
};
264264
const active = cssvar === varname ? '#a8a8a8' : '';
265-
return <button key={idx} style={{ background: active, border: 0,boxShadow: 'inset 0px 0px 1px #000' }} onClick={click}>{varname}</button>
265+
return <button key={idx} style={{ background: active, border: 0,boxShadow: 'inset 0px 0px 1px #000', textAlign: 'left' }} onClick={click}>{varname}</button>
266266
})}
267267
</div>
268268
</div>

0 commit comments

Comments
 (0)