mirror of
https://github.com/zoriya/react-native-svg.git
synced 2026-05-25 12:03:27 +00:00
refactor: add note about experimental native methods
This commit is contained in:
@@ -264,6 +264,11 @@ export default class Shape<P> extends Component<P> {
|
||||
) => {
|
||||
this.root && this.root.setNativeProps(props);
|
||||
};
|
||||
/*
|
||||
* The following native methods are experimental and likely broken in some
|
||||
* ways. If you have a use case for these, please open an issue with a
|
||||
* representative example / reproduction.
|
||||
* */
|
||||
getBBox = (options?: SVGBoundingBoxOptions): SVGRect => {
|
||||
const { fill = true, stroke = true, markers = true, clipped = true } =
|
||||
options || {};
|
||||
|
||||
Reference in New Issue
Block a user