aboutsummaryrefslogtreecommitdiff
path: root/src/tools/user-agent-parser/user-agent-parser.types.ts
blob: 37dbe9f84c0adf82e937ddf6e7ad98c1618fb347 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
import type { Component } from 'vue';
import type { UAParser } from 'ua-parser-js';

export interface UserAgentResultSection {
  heading: string
  icon?: Component
  content: {
    label: string
    getValue: (blocks?: UAParser.IResult) => string | undefined
    undefinedFallback?: string
  }[]
}