import React from 'react';
import * as Svg from 'react-native-svg';
import Example from './Example';
class RectExample extends React.Component {
static title = 'Rect';
render() {
return (
);
}
}
class RectStrokeFill extends React.Component {
static title = '`stroke` and `fill` Rect';
render() {
return (
);
}
}
class RoundedRect extends React.Component {
static title = 'A rectangle with rounded corners';
render() {
return (
);
}
}
class EllipseRect extends React.Component {
static title = 'Rect with different `rx` and `ry`';
render() {
return (
);
}
}
class RoundOverflowRect extends React.Component {
static title = 'Rect with `rx` or `ry` overflowed';
render() {
return (
);
}
}
const icon = (
);
const Rect: Example = {
icon,
samples: [RectExample, RectStrokeFill, RoundedRect, EllipseRect, RoundOverflowRect],
};
export default Rect;