react-compinators
Preparing search index...
omitProps
Function omitProps
omitProps
<
Props
extends
object
>
(
Base
:
FC
<
Props
>
,
displayName
?:
string
,
)
:
<
const
Names
extends
readonly
[
string
,
string
]
>
(
...
names
:
Names
,
)
=>
(
props
:
Props
)
=>
Element
Omit the given prop names from for the given component.
Type Parameters
Props
extends
object
Parameters
Base
:
FC
<
Props
>
displayName
:
string
= 'omitProps'
Returns
<
const
Names
extends
readonly
[
string
,
string
]
>
(
...
names
:
Names
,
)
=>
(
props
:
Props
)
=>
Element
Settings
Member Visibility
Internal
Theme
OS
Light
Dark
react-compinators
Loading...
Omit the given prop names from for the given component.