refactor(core): omit type prop for smooth step edge props
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
@@ -151,7 +151,7 @@ export interface EdgeProps<Data = ElementData, CustomEvents = {}> {
|
||||
}
|
||||
|
||||
/** these props are passed to smooth step edges */
|
||||
export interface SmoothStepEdgeProps<Data = ElementData, CustomEvents = {}> extends EdgeProps<Data, CustomEvents> {
|
||||
export interface SmoothStepEdgeProps<Data = ElementData, CustomEvents = {}> extends Omit<EdgeProps<Data, CustomEvents>, 'type'> {
|
||||
borderRadius?: number
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user