cars: {
type: new GraphQLList(CarType),
resolve: (parent, args) => cars,
},
car: {
type: CarType,
args: {
id: {
// example of using GraphQLNonNull to make the id required
type: new GraphQLNonNull(GraphQLString)
},
},
resolve: (parent, args) => cars.find(car => car.id === args.id),
}
我想将按钮颜色更改为此:
[]
我该怎么做?
答案 0 :(得分:0)
您可以使用MDCColorScheming更改按钮颜色。
buttonScheme.colorScheme = Your colour scheme(MDCColorScheming)
您可以检查链接以更好地了解 MDCColorScheming