soramitsu / soramitsu-js-ui-library

Javascript UI library used by SORAMITSU
Apache License 2.0
8 stars 3 forks source link

Release@next 0.13.9 #590

Closed VladislavPopovSR closed 5 months ago

VladislavPopovSR commented 5 months ago

545

Now value will be the same type as provided data instead of TableRow. Example with one of the events:

Снимок экрана 2024-06-14 в 15 25 31

Updating to 0.13.9+ version causes an error with InstanceType . Install vue-component-type-helpers and use ComponentExposed instead:

import type { ComponentExposed } from 'vue-component-type-helpers';

const table = ref<ComponentExposed<typeof STable> | null>(null);

For future : somehow we have to provide generics for formatter property in STableColumn component.