Skip to content

Commit

Permalink
feat: add feOffset to filterImage types
Browse files Browse the repository at this point in the history
  • Loading branch information
jakex7 committed Jul 25, 2024
1 parent 43bc312 commit 3a9a288
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/filter-image/types.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
import { FilterPrimitiveCommonProps } from '../elements/filters/FilterPrimitive';
import { FeColorMatrixProps } from '../index';
import { FeColorMatrixProps, FeOffsetProps } from '../index';

export type FilterElement = ({ name: 'feColorMatrix' } & FeColorMatrixProps) &
export type FilterElement = (
| ({ name: 'feColorMatrix' } & FeColorMatrixProps)
| ({ name: 'feOffset' } & FeOffsetProps)
) &
FilterPrimitiveCommonProps;

export type Filters = Array<FilterElement>;

0 comments on commit 3a9a288

Please sign in to comment.