aboutsummaryrefslogtreecommitdiffstats
path: root/src/elements/Defs.js
blob: 7491ba0005bba895e86a3dcd04a42e9cdfd8dfd2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { nodeOrNew, register } from '../utils/adopter.js'
import Container from './Container.js'

export default class Defs extends Container {
  constructor (node, attrs = node) {
    super(nodeOrNew('defs', node), attrs)
  }

  flatten () {
    return this
  }

  ungroup () {
    return this
  }
}

register(Defs, 'Defs')