feat: convert js modules to ts and optimize performance
This commit is contained in:
@@ -14,7 +14,7 @@ const { id, label, options, value = options[0], title = "" } = Astro.props;
|
||||
<span class="tui-segment-label">{label}</span>
|
||||
<div class="tui-segment-options" id={id} data-value={value}>
|
||||
{
|
||||
options.map((opt, i) => (
|
||||
options.map((opt) => (
|
||||
<button
|
||||
type="button"
|
||||
class:list={[
|
||||
|
||||
Reference in New Issue
Block a user