mirror of
https://github.com/zoriya/react-native-svg.git
synced 2026-05-26 04:19:17 +00:00
add clipping js code
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
import React, {
|
||||
Component,
|
||||
PropTypes,
|
||||
Children
|
||||
} from 'react-native';
|
||||
import {NativeGroup} from './G';
|
||||
|
||||
class ClipPath extends Component{
|
||||
static displayName = 'ClipPath';
|
||||
static propTypes = {
|
||||
id: PropTypes.string.isRequired
|
||||
};
|
||||
|
||||
render() {
|
||||
// TODO: 合并children路径
|
||||
// TODO: clip-rule
|
||||
return <NativeGroup />;
|
||||
}
|
||||
}
|
||||
|
||||
export default ClipPath;
|
||||
|
||||
Reference in New Issue
Block a user