diff --git a/doc/selectbutton/pt/PTDoc.vue b/doc/selectbutton/pt/PTDoc.vue index 1c22dd76a..e0e81805c 100644 --- a/doc/selectbutton/pt/PTDoc.vue +++ b/doc/selectbutton/pt/PTDoc.vue @@ -6,7 +6,9 @@ :options="options" aria-labelledby="basic" :pt="{ - button: { class: 'bg-primary ' } + label: ({ state }) => ({ + class: state.focusedIndex === 1 ? 'text-blue-300' : undefined + }) }" /> @@ -21,11 +23,28 @@ export default { options: ['Off', 'On'], code: { basic: ` -`, +`, options: ` @@ -42,7 +61,16 @@ export default { composition: `