Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to style the search input feature under 'searchFieldStyle' using CSS Pseudo classes #65

Open
daveclinton opened this issue May 8, 2023 · 0 comments

Comments

@daveclinton
Copy link

I am trying to customize the search input feature but I am not able to find the right way to add the pseudo classes style so that it can match my intended design.
I am getting an arror saying:
No overload matches this call. Overload 1 of 2, '(props: MaterialTableProps<any> | Readonly<MaterialTableProps<any>>): MaterialTable<any>', gave the following error. Type '{ border: string; borderRadius: string; padding: string; '&:active': {}; }' is not assignable to type 'Properties<string | number, string & {}>'. Object literal may only specify known properties, and ''&:active'' does not exist in type 'Properties<string | number, string & {}>'. Overload 2 of 2, '(props: MaterialTableProps<any>, context: any): MaterialTable<any>', gave the following error. Type '{ border: string; borderRadius: string; padding: string; '&:active': {}; }' is not assignable to type 'Properties<string | number, string & {}>'. Object literal may only specify known properties, and ''&:active'' does not exist in type 'Properties<string | number, string & {}>'.ts(2769) (property) '&:active': {}

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant