feat(react-components): Added PatternXray component
This commit is contained in:
parent
c527ccd702
commit
6da48ce4aa
5 changed files with 149 additions and 2 deletions
|
@ -16,7 +16,7 @@ import { Circle as DefaultCircle } from './circle.mjs'
|
|||
/*
|
||||
* Allow people to swizzle these components
|
||||
*/
|
||||
const defaultComponents = {
|
||||
export const defaultPatternComponents = {
|
||||
Svg: DefaultSvg,
|
||||
Defs: DefaultDefs,
|
||||
Group: DefaultGroup,
|
||||
|
@ -46,7 +46,7 @@ export const Pattern = forwardRef(
|
|||
|
||||
// Merge default and swizzled components
|
||||
components = {
|
||||
...defaultComponents,
|
||||
...defaultPatternComponents,
|
||||
...components,
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue