Added Algolia Search (#5524)
-Added Algolia Search Box : <img width="707" alt="Screenshot 2024-05-22 at 10 05 13" src="https://github.com/twentyhq/twenty/assets/102751374/d26f9748-2a80-4690-88ca-16b078c52915"> -Added Algolia Search Bar: <img width="294" alt="Screenshot 2024-05-22 at 10 05 56" src="https://github.com/twentyhq/twenty/assets/102751374/ad503894-4ae1-41e4-bd4b-6241f7679142"> --------- Co-authored-by: Félix Malfait <felix.malfait@gmail.com>
This commit is contained in:
@ -25,6 +25,7 @@ export const wrapHeadingsWithAnchor = (children: ReactNode): ReactNode => {
|
||||
.toLowerCase();
|
||||
return cloneElement(child as ReactElement<any>, {
|
||||
id: id,
|
||||
className: 'anchor',
|
||||
children: <a href={`#${id}`}>{child.props.children}</a>,
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user