web: Add style CI workflow to enforce eslint checks on web module (#1910)
This commit is contained in:
parent
b4a170cb8a
commit
a798dcfae9
29 changed files with 141 additions and 102 deletions
|
|
@ -257,7 +257,7 @@ const CodeGroupContext = createContext(false)
|
|||
|
||||
export function CodeGroup({ children, title, inputs, targetCode, ...props }: IChildrenProps) {
|
||||
const languages = Children.map(children, child =>
|
||||
getPanelTitle(child.props.children.props)
|
||||
getPanelTitle(child.props.children.props),
|
||||
)
|
||||
const tabGroupProps = useTabGroupProps(languages)
|
||||
const hasTabs = Children.count(children) > 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue