1 | import React from 'react';
|
2 | import { extract } from '../lib/extract/extractProps';
|
3 | import Shape from './Shape';
|
4 | import { RNSVGClipPath } from './NativeComponents';
|
5 |
|
6 | export default class ClipPath extends Shape<{}> {
|
7 | static displayName = 'ClipPath';
|
8 |
|
9 | render() {
|
10 | const { props } = this;
|
11 | return (
|
12 | <RNSVGClipPath ref={this.refMethod} {...extract(this, props)}>
|
13 | {props.children}
|
14 | </RNSVGClipPath>
|
15 | );
|
16 | }
|
17 | }
|