mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-07 08:17:05 +00:00
Added test for Area
This commit is contained in:
@@ -124,3 +124,18 @@ class GridTest extends React.Component {
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
class AreaTest extends React.Component {
|
||||
render() {
|
||||
return (
|
||||
<Area>
|
||||
<Area.Rectangle height={10} width={20} x={30} y={40} />
|
||||
<Area.Path d="test" fillMode="nonzero" />
|
||||
<Area.Text fontSize={30}>
|
||||
Parent text
|
||||
<Area.Text fontWeight="maximum">Nested Text</Area.Text>
|
||||
</Area.Text>
|
||||
</Area>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user